summaryrefslogtreecommitdiff
path: root/packages/linux/linux.inc
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2007-08-21 21:56:00 +0000
committerCliff Brake <cbrake@bec-systems.com>2007-08-21 21:56:00 +0000
commitc730ac55545f18e58f6bba42b2289bf90abd1654 (patch)
treeffe00670936fe6088bf4bfbbc9f41444c89fa406 /packages/linux/linux.inc
parent066eabd17483a4cfe52a427df47bd0b0ba469342 (diff)
compulab-pxa270_2.6.22.bb: fix issues caused by inclusion of linux.inc
the compulab kernel recipe has an extra task that is used to create images with a special header. This task needs to know the image file name created in linux.inc
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r--packages/linux/linux.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index de4b2cc5a8..2b7df69015 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -61,9 +61,11 @@ do_install_prepend() {
UBOOT_ENTRYPOINT ?= "20008000"
+KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}
+
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
- install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
+ install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${PR}-${MACHINE}.tgz -C ${D} lib
if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then