summaryrefslogtreecommitdiff
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
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
-rw-r--r--linux/opensimpad_2.4.25-vrs2-pxa1-jpm1.oe12
-rw-r--r--qte/qte_2.3.7.oe2
-rw-r--r--tslib/tslib/simpad/tslib.sh5
3 files changed, 12 insertions, 7 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`
diff --git a/qte/qte_2.3.7.oe b/qte/qte_2.3.7.oe
index 0f385a62e5..c03df48bc0 100644
--- a/qte/qte_2.3.7.oe
+++ b/qte/qte_2.3.7.oe
@@ -54,7 +54,7 @@ EXTRA_OEMAKE = "-e"
EXTRA_DEFINES = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DWARNING_UNKNOWN_DEVICE"
EXTRA_DEFINES_collie = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_SL5XXX"
EXTRA_DEFINES_h3600 = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_IPAQ"
-EXTRA_DEFINES_simpad = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_IPAQ -DQT_QWS_SIMPAD -DQT_QWS_DEVFS"
+EXTRA_DEFINES_simpad = " -DQT_QWS_CUSTOM -DQT_QWS_IPAQ -DQT_QWS_SIMPAD -DQT_QWS_DEVFS"
EXTRA_DEFINES_shepherd = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_SLC700"
EXTRA_DEFINES_husky = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_SLC700"
EXTRA_DEFINES_boxer = "-DQWS_TSLIB -DQT_QWS_CUSTOM -DQT_QWS_SLC700"
diff --git a/tslib/tslib/simpad/tslib.sh b/tslib/tslib/simpad/tslib.sh
index e69de29bb2..263b6d39d8 100644
--- a/tslib/tslib/simpad/tslib.sh
+++ b/tslib/tslib/simpad/tslib.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/touchscreen/ucb1x00
+
+export TSLIB_TSDEVICE