diff options
author | Chris Lord <chris@openedhand.com> | 2004-09-14 19:15:39 +0000 |
---|---|---|
committer | Chris Lord <chris@openedhand.com> | 2004-09-14 19:15:39 +0000 |
commit | d063671fe04cb70d81cfd0163cee7b5d93c30362 (patch) | |
tree | 7c072655819a05222c9ddcdf3077bc7b9bbc1443 /classes | |
parent | 75810ad8ef87c66ec5e9b02dd9231c437df818cb (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into chris.(none):/home/cwiiis/oe/packages
2004/09/14 20:14:18+01:00 (none)!pb
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages
2004/09/14 20:13:59+01:00 (none)!pb
use KERNEL_OUTPUT for output file
BKrev: 4147435b0cpIEbalrKlAHfGEqd78_A
Diffstat (limited to 'classes')
-rw-r--r-- | classes/kernel.oeclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass index be6180f1cc..f34299f6cf 100644 --- a/classes/kernel.oeclass +++ b/classes/kernel.oeclass @@ -14,6 +14,8 @@ KERNEL_LDSUFFIX ?= "" KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}" KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}" +KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" + # # configuration # @@ -65,7 +67,7 @@ kernel_do_stage() { echo "${KERNEL_LDSUFFIX}" >${STAGING_KERNEL_DIR}/kernel-ldsuffix [ -e Rules.make ] && install -m 0644 Rules.make ${STAGING_KERNEL_DIR}/ [ -e Makefile ] && install -m 0644 Makefile ${STAGING_KERNEL_DIR}/ - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} + install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} } kernel_do_install() { @@ -76,7 +78,7 @@ kernel_do_install() { oenote "no modules to install" fi install -d ${D}/boot - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${D}/boot/${KERNEL_IMAGETYPE}-${PV} + install -m 0644 ${KERNEL_OUTPUT} ${D}/boot/${KERNEL_IMAGETYPE}-${PV} install -m 0644 System.map ${D}/boot/System.map-${PV} install -m 0644 .config ${D}/boot/config-${PV} install -d ${D}/etc/modutils |