<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/kernel-yocto.bbclass, branch bernard-5.0-alpha</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=bernard-5.0-alpha</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=bernard-5.0-alpha'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-02-09T11:11:07+00:00</updated>
<entry>
<title>linux-yocto: streamline BSP bootstrapping</title>
<updated>2011-02-09T11:11:07+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-02-09T02:46:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9ce72c28bb1e85062cde227bc0c71962286a4d44'/>
<id>urn:sha1:9ce72c28bb1e85062cde227bc0c71962286a4d44</id>
<content type='text'>
In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

foo

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>kernel-yocto: Ensure python code has awlays run before SRCPV is expanded</title>
<updated>2011-02-08T12:05:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-08T10:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=65712be7369c20d7577f563167c49dd4fd466da6'/>
<id>urn:sha1:65712be7369c20d7577f563167c49dd4fd466da6</id>
<content type='text'>
The python code in this class file needs to run before SRCPV is expanded
and calls into the fetcher are made. To so this we create a python function
and prepend a call to it before SRCPV's get_srcrev() call.

Ugly, ugly, ugly but the ordering is guaranteed.

If this doesn't happen, the fetcher can end up in two different states and
there may be caching implications of this.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>kernel-yocto/poky-default-revisions: Ensure SRCREV_machine is set for the kernels</title>
<updated>2011-02-08T12:05:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-08T10:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bd2fd821a3bf155da30ac2378760bf27103d1457'/>
<id>urn:sha1:bd2fd821a3bf155da30ac2378760bf27103d1457</id>
<content type='text'>
If we don't do this and try to bring up a new machine we can trigger network
access to resolve the branch name to a revision which is undesireable.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>kernel-yocto: 'standard' isn't a valid git branch name for a SRCREV, fix</title>
<updated>2011-02-07T09:32:44+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-07T09:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=32dbc70e86c3b186658dcaa84a8c7cd76a50e069'/>
<id>urn:sha1:32dbc70e86c3b186658dcaa84a8c7cd76a50e069</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvements</title>
<updated>2011-02-02T17:19:18+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-02T17:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8b5b3cca7dd096680ce16b02e35399cd12d487f9'/>
<id>urn:sha1:8b5b3cca7dd096680ce16b02e35399cd12d487f9</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-yocto: export kernel configuration audit to the console</title>
<updated>2011-02-01T23:59:43+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-01-31T20:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=95366e44c97a178e2327b3809b0ff29e8dc3deda'/>
<id>urn:sha1:95366e44c97a178e2327b3809b0ff29e8dc3deda</id>
<content type='text'>
Fixes [BUGID #692]

Previously the information dumped by the kernel configuration audit
scripts was only placed in log files. This isn't as useful as it
could be, since they are rarely checked. This change takes the
output from kconf_check and explicitly displays it to the user.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>linux-yocto: allow multiple BSPs per branch</title>
<updated>2011-01-24T22:42:55+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-01-24T16:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=97cb3124ec958650895ebae907eb946517c2e1ef'/>
<id>urn:sha1:97cb3124ec958650895ebae907eb946517c2e1ef</id>
<content type='text'>
By default the linux-yocto recipes operate on the current branch
and use it as a trigger to locate the description of a board. This
model works well when using the git repo outside of a build system
since the commands can be simply invoked and will do something
useful. However, it does mean that you can't have two BSPs that
differ only by configuration, building out of a single branch
in the repository.

This means that you must have many branches for very similar
BSPs. This model is still preferred, but having the choice of
branching strategies is better.

With this change we can have multiple BSPs using a single branch
with the preferred description being hinted from the build
system by passing the $machine value to updateme/configme.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>linux-yocto: update validate_branches to detected invalid commit IDs</title>
<updated>2011-01-19T19:36:27+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-01-17T21:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8f23c1413ad12e60e98f9887cafa4315db7b62a2'/>
<id>urn:sha1:8f23c1413ad12e60e98f9887cafa4315db7b62a2</id>
<content type='text'>
The previous implementation of invalid commit ID checks would
error early when a bad object was detected. Rather than changing
to set +e for the entire routine, we'll capture the output and
do an explicit check for a bad object and throw a useful error
message when it is detected.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>linux-yocto: streamline new BSP creation</title>
<updated>2011-01-19T19:36:27+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-01-14T05:33:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=432e7619a7bd0c6a2075a618e5b17100fe459085'/>
<id>urn:sha1:432e7619a7bd0c6a2075a618e5b17100fe459085</id>
<content type='text'>
By setting BOOTSTRAP to the branch that should be used for a
currently undefined BSP a build can be completed and an
environment for streamlining the BSP created.

With the appropriate machine.conf, and a defconfig any MACHINE
can be built against and inherit the configuration of the
standard yocto kernel.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>kernel-yocto: pass the build directory to configme</title>
<updated>2011-01-10T21:04:44+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-01-04T05:20:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1759fee63889219ab5ee52124c237eec902de525'/>
<id>urn:sha1:1759fee63889219ab5ee52124c237eec902de525</id>
<content type='text'>
configme used to be able to calculate the output/build directory
when branches were always &lt;machine&gt;-&lt;kernel type&gt;. Branch names
can now be widely different and to avoid embedding complexity
in the scripts it is easier to just pass ${B} from the build system
down to the scripts.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
