<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/kernel.bbclass, branch 2011-1</title>
<subtitle>Mirror of openembedded-core</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/'/>
<entry>
<title>kernel.bbclass: Find the kernel consistently.</title>
<updated>2011-08-26T19:34:12+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2011-08-26T09:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=de5b502330ded38c0efe2c4e30967ef12dbad72a'/>
<id>de5b502330ded38c0efe2c4e30967ef12dbad72a</id>
<content type='text'>
Use KERNEL_OUTPUT variable to find the generated kernel image rather than
duplicating the existing path. This also means it can be overridden simply.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use KERNEL_OUTPUT variable to find the generated kernel image rather than
duplicating the existing path. This also means it can be overridden simply.

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel.bbclass: support kernel image type of vmlinux.gz</title>
<updated>2011-08-26T19:34:02+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2011-08-25T12:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=cb17b6c2a72f260c61b0ec46887c2a04ac5b3f80'/>
<id>cb17b6c2a72f260c61b0ec46887c2a04ac5b3f80</id>
<content type='text'>
Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for a gzipped vmlinux kernel by specifying:

  KERNEL_IMAGETYPE = "vmlinux.gz"

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>image.bbclass, kernel.bbclass: remove non-standard -n option from cp command</title>
<updated>2011-08-24T01:32:24+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-08-23T15:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=13e14763f14b5b84051ecb158404dcef937cc4e0'/>
<id>13e14763f14b5b84051ecb158404dcef937cc4e0</id>
<content type='text'>
-n is not a POSIX option and does not work on some systems (e.g. Debian
Lenny); in any case it is not strictly necessary here, so remove it.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-n is not a POSIX option and does not work on some systems (e.g. Debian
Lenny); in any case it is not strictly necessary here, so remove it.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel.bbclass: save kernel image name into $kerneldir</title>
<updated>2011-08-24T01:23:16+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-07-22T01:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=19a587cb98a20f0e659483541fc8cec874f6afa9'/>
<id>19a587cb98a20f0e659483541fc8cec874f6afa9</id>
<content type='text'>
Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>image.bbclass, kernel.bbclass: create warning file about deleting deploydir files</title>
<updated>2011-08-18T20:45:43+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-08-16T17:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=4316c5e9eec67d71f4699102a63a5f968bd8d1d9'/>
<id>4316c5e9eec67d71f4699102a63a5f968bd8d1d9</id>
<content type='text'>
New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: restore crtsavres.o to enable building external modules on powerpc</title>
<updated>2011-08-17T14:46:16+00:00</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2011-08-17T04:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=2e83e6755441cb14bd907d306974338c15173189'/>
<id>2e83e6755441cb14bd907d306974338c15173189</id>
<content type='text'>
Fixes [YOCTO #1276]

As of Linux kernel version 3.0.1, and much earlier, the make clean target
removes arch/powerpc/lib/crtsavres.o. As this object is present in
KBUILD_LDFLAGS_MODULE, it is required to build external modules, and should
therefor not be removed by make clean.

While I do not advocate fixing buggy kernels in the generic kernel classes,
we should probably account for this one in kernel.bbclass as it affects
such a long list of kernel versions.

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
CC: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
CC: Tom Zanussi &lt;tom.zanussi@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [YOCTO #1276]

As of Linux kernel version 3.0.1, and much earlier, the make clean target
removes arch/powerpc/lib/crtsavres.o. As this object is present in
KBUILD_LDFLAGS_MODULE, it is required to build external modules, and should
therefor not be removed by make clean.

While I do not advocate fixing buggy kernels in the generic kernel classes,
we should probably account for this one in kernel.bbclass as it affects
such a long list of kernel versions.

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
CC: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
CC: Tom Zanussi &lt;tom.zanussi@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel,module-base.bbclass: Improve KERNEL_LD &amp; KERNEL_AR variables</title>
<updated>2011-08-05T16:15:39+00:00</updated>
<author>
<name>Nitin A Kamble</name>
<email>nitin.a.kamble@intel.com</email>
</author>
<published>2011-08-02T20:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=9c525241c564a458db8ecd9ba325edeb13ec1c58'/>
<id>9c525241c564a458db8ecd9ba325edeb13ec1c58</id>
<content type='text'>
KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel.bbcalss: Added do_savedefconfig task.</title>
<updated>2011-08-04T14:01:18+00:00</updated>
<author>
<name>Noor, Ahsan</name>
<email>noor_ahsan@mentor.com</email>
</author>
<published>2011-08-02T12:30:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=5bbc3533710d82da0b35c70410b1a9019ab70336'/>
<id>5bbc3533710d82da0b35c70410b1a9019ab70336</id>
<content type='text'>
* Added do_savedefconfig task to kernel.bbclass.

Signed-off-by: Noor, Ahsan &lt;noor_ahsan@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added do_savedefconfig task to kernel.bbclass.

Signed-off-by: Noor, Ahsan &lt;noor_ahsan@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel,cml1.bbclass: Move menuconfig to cml1</title>
<updated>2011-08-04T14:01:17+00:00</updated>
<author>
<name>Noor, Ahsan</name>
<email>noor_ahsan@mentor.com</email>
</author>
<published>2011-07-29T12:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=1ceaf45f634d11b65aab0f591a86865df49c8c90'/>
<id>1ceaf45f634d11b65aab0f591a86865df49c8c90</id>
<content type='text'>
* The menuconfig target exists in places other than the kernel that use kernel style config.

Signed-off-by: Noor, Ahsan &lt;noor_ahsan@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* The menuconfig target exists in places other than the kernel that use kernel style config.

Signed-off-by: Noor, Ahsan &lt;noor_ahsan@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: copy defconfig to {B} vs {S}</title>
<updated>2011-07-22T10:47:44+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2011-07-20T20:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=4f03d922ce32f602a5a407cf422d82a0d036e4a0'/>
<id>4f03d922ce32f602a5a407cf422d82a0d036e4a0</id>
<content type='text'>
For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

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