diff options
Diffstat (limited to 'meta-oe/classes/kernel.bbclass')
| -rw-r--r-- | meta-oe/classes/kernel.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index 9a80a1cf56..e1e8197cb6 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
| @@ -159,7 +159,8 @@ kernel_do_install() { | |||
| 159 | # we clean the scripts dir while leaving the generated config | 159 | # we clean the scripts dir while leaving the generated config |
| 160 | # and include files. | 160 | # and include files. |
| 161 | # | 161 | # |
| 162 | oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean | 162 | find $kerneldir -name "*.o" -delete |
| 163 | #oe_runmake -C $kerneldir CC="${KERNEL_CC}" LD="${KERNEL_LD}" clean | ||
| 163 | make -C $kerneldir _mrproper_scripts | 164 | make -C $kerneldir _mrproper_scripts |
| 164 | find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \; | 165 | find $kerneldir -path $kerneldir/scripts -prune -o -name "*.[csS]" -exec rm '{}' \; |
| 165 | find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \; | 166 | find $kerneldir/Documentation -name "*.txt" -exec rm '{}' \; |
