summaryrefslogtreecommitdiff
path: root/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2004-06-25 19:05:45 +0000
committerHolger Freyther <zecke@selfish.org>2004-06-25 19:05:45 +0000
commit08b4e57f99154ad78bb652ba0546671dab99b2ae (patch)
tree345e88f2653c0fef01c974d06eb3d9826af4411e /linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
parentdf0be6dae22f1cfe7cbf2de5c402e6173382ff45 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into debian.(none):/home/ich/programming/oe/oe-packages-exported 2004/06/25 21:05:03+02:00 (none)!ich OpenSimpad touchscreen and kernel changes BKrev: 40dc7789p4OKgGUJgvTDfcxOkq8wrQ
Diffstat (limited to 'linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe')
-rw-r--r--linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe12
1 files changed, 6 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 9b4f3dc7f3..69e77fc83c 100644
--- a/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
+++ b/linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe
@@ -29,16 +29,16 @@ inherit kernel
KERNEL_CCSUFFIX = "-3.3.3"
COMPATIBLE_HOST = "arm.*-linux"
-SIMPAD_MEM = "32"
-SIMPAD_RD = "32"
-CMDLINE = "mtdparts=sa1100:512k(boot),1m(kernel),-(root) console=ttySA root=1f02 noinitrd jffs2_orphaned_inodes=delete rootfstype=jffs2 "
+SIMPAD_MEM = ${@oe.data.getVar("SIMPAD_MEMORY_SIZE",d,1) or "32"}
+SIMPAD_RD = ${@oe.data.getVar("SIMPAD_RAMDISK_SIZE",d,1) or "32"}
+export CMDLINE = ${@oe.data.getVar("SIMPAD_CMDLINE",d,1) or "mtdparts=sa1100:512k(boot),1m(kernel),-(root) console=ttySA root=1f02 noinitrd jffs2_orphaned_inodes=delete rootfstype=jffs2 "}
EXTRA_OEMAKE = ""
do_configure() {
install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
-
- mem=${SIMPAD_MEM}
- rd=${SIMPAD_RD}
+
+ mem=${SIMPAD_MEM}
+ rd=${SIMPAD_RD}
mempos=`echo "obase=16; $mem * 1024 * 1024" | bc`
rdsize=`echo "$rd * 1024" | bc`
total=`expr $mem + $rd`