summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b25275e702..758a7c3992 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -142,6 +142,7 @@ kernel_do_install() {
142 install -m 0644 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} 142 install -m 0644 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
143 install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION} 143 install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION}
144 install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION} 144 install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION}
145 install -m 0644 vmlinux ${D}/boot/vmlinux-${KERNEL_VERSION}
145 install -d ${D}/etc/modutils 146 install -d ${D}/etc/modutils
146 if [ "${KERNEL_MAJOR_VERSION}" = "2.6" ]; then 147 if [ "${KERNEL_MAJOR_VERSION}" = "2.6" ]; then
147 install -d ${D}/etc/modprobe.d 148 install -d ${D}/etc/modprobe.d
@@ -174,10 +175,11 @@ EXPORT_FUNCTIONS do_compile do_install do_stage do_configure
174 175
175# kernel-base becomes kernel-${KERNEL_VERSION} 176# kernel-base becomes kernel-${KERNEL_VERSION}
176# kernel-image becomes kernel-image-${KERNEL_VERISON} 177# kernel-image becomes kernel-image-${KERNEL_VERISON}
177PACKAGES = "kernel kernel-base kernel-image kernel-dev" 178PACKAGES = "kernel kernel-base kernel-image kernel-dev kernel-vmlinux"
178FILES = "" 179FILES = ""
179FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" 180FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
180FILES_kernel-dev = "/boot/System.map* /boot/config*" 181FILES_kernel-dev = "/boot/System.map* /boot/config*"
182FILES_kernel-vmlinux = "/boot/vmlinux*"
181RDEPENDS_kernel = "kernel-base" 183RDEPENDS_kernel = "kernel-base"
182# Allow machines to override this dependency if kernel image files are 184# Allow machines to override this dependency if kernel image files are
183# not wanted in images as standard 185# not wanted in images as standard