diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 00117a6cd8..e8c585bb94 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -94,8 +94,6 @@ kernel_do_install() { | |||
94 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 94 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
95 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 95 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
96 | oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install | 96 | oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install |
97 | rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order" | ||
98 | rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin" | ||
99 | rm "${D}/lib/modules/${KERNEL_VERSION}/build" | 97 | rm "${D}/lib/modules/${KERNEL_VERSION}/build" |
100 | rm "${D}/lib/modules/${KERNEL_VERSION}/source" | 98 | rm "${D}/lib/modules/${KERNEL_VERSION}/source" |
101 | else | 99 | else |
@@ -251,6 +249,7 @@ EXPORT_FUNCTIONS do_compile do_install do_configure | |||
251 | # kernel-image becomes kernel-image-${KERNEL_VERISON} | 249 | # kernel-image becomes kernel-image-${KERNEL_VERISON} |
252 | PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-modules" | 250 | PACKAGES = "kernel kernel-base kernel-vmlinux kernel-image kernel-dev kernel-modules" |
253 | FILES = "" | 251 | FILES = "" |
252 | FILES_kernel-base = "/lib/modules/${KERNEL_VERSION}/modules.order /lib/modules/${KERNEL_VERSION}/modules.builtin" | ||
254 | FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" | 253 | FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" |
255 | FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH}" | 254 | FILES_kernel-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH}" |
256 | FILES_kernel-vmlinux = "/boot/vmlinux*" | 255 | FILES_kernel-vmlinux = "/boot/vmlinux*" |