summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 7512ee0cdb..3ccd753529 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -173,7 +173,7 @@ kernel_do_install() {
173 # 173 #
174 oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean 174 oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean
175 make -C $kerneldir _mrproper_scripts 175 make -C $kerneldir _mrproper_scripts
176 find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \; 176 find $kerneldir -path $kerneldir/lib -prune -o -path $kerneldir/tools -prune -o -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \;
177 find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \; 177 find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \;
178 178
179 # As of Linux kernel version 3.0.1, the clean target removes 179 # As of Linux kernel version 3.0.1, the clean target removes