summaryrefslogtreecommitdiffstats
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
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() {
92 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 92 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
93 oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" 93 oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}"
94 else 94 else
95 oenote "no modules to compile" 95 bbnote "no modules to compile"
96 fi 96 fi
97} 97}
98addtask compile_kernelmodules after do_compile before do_install 98addtask compile_kernelmodules after do_compile before do_install
@@ -105,7 +105,7 @@ kernel_do_install() {
105 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 105 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
106 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install 106 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
107 else 107 else
108 oenote "no modules to install" 108 bbnote "no modules to install"
109 fi 109 fi
110 110
111 # 111 #
@@ -160,8 +160,7 @@ kernel_do_install() {
160 # we clean the scripts dir while leaving the generated config 160 # we clean the scripts dir while leaving the generated config
161 # and include files. 161 # and include files.
162 # 162 #
163 find $kerneldir -name "*.o" -delete 163 oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
164 #oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
165 make -C $kerneldir _mrproper_scripts 164 make -C $kerneldir _mrproper_scripts
166 find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \; 165 find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \;
167 find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \; 166 find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \;