summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-04 10:48:08 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-04 10:48:08 +0000
commit1c708b4b405020bc350c682bac2223c5c4c50c8d (patch)
tree3b31d1692a0f7184ca73ad6d102e9e0ee5eb756a /linux
parent798194e144f1c2c23aa2b3070a5bd84a415befa9 (diff)
opensimpad_2.4.25-vrs2-pxa1-jpm1.oe:
calculate KV and friends dynamically from PV require gcc 3.3.3 and arm host BKrev: 409774e8Uw1iq56v_wVtQFWlZJagDg
Diffstat (limited to 'linux')
-rw-r--r--linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe14
1 files changed, 8 insertions, 6 deletions
diff --git a/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe b/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
index de0454a7c3..735c3ca724 100644
--- a/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
+++ b/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
@@ -1,11 +1,10 @@
DESCRIPTION = "Linux kernel for the SIEMENS SIMpad family of devices."
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
-KV = "2.4.25"
-VRSV = "vrs2"
-PXAV = "pxa1"
-JPMV = "jpm1"
-PV = "${KV}-${VRSV}-${PXAV}-${JPMV}"
+KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}"
+VRSV = "${@oe.data.getVar('PV',d,True).split('-')[1]}"
+PXAV = "${@oe.data.getVar('PV',d,True).split('-')[2]}"
+JPMV = "${@oe.data.getVar('PV',d,True).split('-')[3]}"
SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
file://${FILESDIR}/${KV}-${VRSV}.patch;patch=1 \
@@ -25,13 +24,16 @@ S = "${WORKDIR}/linux-${KV}"
inherit kernel
+KERNEL_CCSUFFIX = "-3.3.3"
+COMPATIBLE_HOST = "arm.*-linux"
+
#FIXME: Use configuration system
export MEM = "32"
export RD = "32"
export CMDLINE = "mtdparts=sa1100:512k(boot),1m(kernel),-(root) console=ttySA root=1f02 noinitrd jffs2_orphaned_inodes=delete rootfstype=jffs2 "
EXTRA_OEMAKE = ""
-do_configure_prepend() {
+do_configure() {
install -m 0644 ${FILESDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
mem=${MEM}