summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-11 12:47:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-11 12:47:17 +0000
commit720b5c11fbbafb0883fc388639a283d5f3afea1d (patch)
tree9f554b11baf7283f6396b05780714a47e55ff7bd /meta/classes/kernel.bbclass
parent9998dd4d98cfd0fd2ea5d54364b48cb28b54350c (diff)
downloadpoky-720b5c11fbbafb0883fc388639a283d5f3afea1d.tar.gz
kernel.bbclass: Add kernel-vmlinux package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2724 311d38ba-8fff-0310-9ca6-ca027cbcb966
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