diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index f282a57f6d..6700d0e8ee 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -168,6 +168,12 @@ kernel_do_install() { | |||
168 | done | 168 | done |
169 | } | 169 | } |
170 | 170 | ||
171 | PACKAGE_PREPROCESS_FUNCS += "kernel_package_preprocess" | ||
172 | |||
173 | kernel_package_preprocess () { | ||
174 | rm -rf ${PKGD}/kernel | ||
175 | } | ||
176 | |||
171 | sysroot_stage_all_append() { | 177 | sysroot_stage_all_append() { |
172 | sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel | 178 | sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel |
173 | } | 179 | } |