diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-03 19:37:10 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-03 19:37:10 +0000 |
commit | e543ce52ec2d39c6b69b1e116b6a3ef9dcdaf43e (patch) | |
tree | db77c91a9c16f851dc2e2921b956962a3c83f67a /linux | |
parent | 9dc659a02bffedbc2a2dedc1d606af2fbae6fdd7 (diff) |
In a few of our kernels, put ${MACHINE} in the deployed zImage filename.
BKrev: 41b0c066r42vpKWES6tYmVI19xjelQ
Diffstat (limited to 'linux')
-rw-r--r-- | linux/linux-omap-2.6_2.6.9-omap1.oe | 34 | ||||
-rw-r--r-- | linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe | 2 | ||||
-rw-r--r-- | linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe | 2 |
3 files changed, 36 insertions, 2 deletions
diff --git a/linux/linux-omap-2.6_2.6.9-omap1.oe b/linux/linux-omap-2.6_2.6.9-omap1.oe index e69de29bb2..663551fb08 100644 --- a/linux/linux-omap-2.6_2.6.9-omap1.oe +++ b/linux/linux-omap-2.6_2.6.9-omap1.oe @@ -0,0 +1,34 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for OMAP processors" +LICENSE = "GPL" + +SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2 \ + http://www.muru.com/linux/omap/patches/patch-2.6.9-omap1.bz2;patch=1 \ + file://schedstats-arm.patch;patch=1 \ + file://defconfig" +S = "${WORKDIR}/linux-2.6.9" + +inherit kernel + +python __anonymous () { + import re + host = oe.data.getVar('HOST_SYS', d, 1) + if not re.match('arm.*-linux', host): + raise oe.parse.SkipPackage("incompatible with host %s" % host) +} + +KERNEL_IMAGETYPE = "uImage" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + oe_runmake oldconfig +} + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile diff --git a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe index dda801ad9e..6dcf400297 100644 --- a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe +++ b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe @@ -96,7 +96,7 @@ do_configure_prepend() { do_deploy() { install -d ${DEPLOY_DIR}/images - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}.bin-${DATETIME} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin } do_deploy[dirs] = "${S}" diff --git a/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe b/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe index 983c32a1a8..3aad8b38d3 100644 --- a/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe +++ b/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe @@ -86,7 +86,7 @@ do_configure_prepend() { do_deploy() { install -d ${DEPLOY_DIR}/images - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${DATETIME} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin } do_deploy[dirs] = "${S}" |