aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-07-02 11:28:02 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-07-02 11:28:02 +0200
commit8d6a05fe777f3ee20ccea82e9f1ceec4b5524c30 (patch)
treea13d0c1b24464fd0a7ea284aa85ed918e653340c /meta-oe/classes
parent912c096a468b26ad0e66fca24b906988468a8a03 (diff)
downloadmeta-openembedded-8d6a05fe777f3ee20ccea82e9f1ceec4b5524c30.tar.gz
meta-openembedded-8d6a05fe777f3ee20ccea82e9f1ceec4b5524c30.tar.bz2
meta-openembedded-8d6a05fe777f3ee20ccea82e9f1ceec4b5524c30.zip
kernel.bbclass: sync with OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index a2754df2a..517693c5c 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -92,7 +92,7 @@ do_compile_kernelmodules() {
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}"
else
- oenote "no modules to compile"
+ bbnote "no modules to compile"
fi
}
addtask compile_kernelmodules after do_compile before do_install
@@ -105,7 +105,7 @@ kernel_do_install() {
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
else
- oenote "no modules to install"
+ bbnote "no modules to install"
fi
#
@@ -160,8 +160,7 @@ kernel_do_install() {
# we clean the scripts dir while leaving the generated config
# and include files.
#
- find $kerneldir -name "*.o" -delete
- #oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
+ oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
make -C $kerneldir _mrproper_scripts
find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \;
find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \;