diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
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} |
177 | PACKAGES = "kernel kernel-base kernel-image kernel-dev" | 178 | PACKAGES = "kernel kernel-base kernel-image kernel-dev kernel-vmlinux" |
178 | FILES = "" | 179 | FILES = "" |
179 | FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" | 180 | FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*" |
180 | FILES_kernel-dev = "/boot/System.map* /boot/config*" | 181 | FILES_kernel-dev = "/boot/System.map* /boot/config*" |
182 | FILES_kernel-vmlinux = "/boot/vmlinux*" | ||
181 | RDEPENDS_kernel = "kernel-base" | 183 | RDEPENDS_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 |