summaryrefslogtreecommitdiff
path: root/pcmcia-cs
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-03 20:32:16 +0000
committerPhil Blundell <philb@gnu.org>2004-06-03 20:32:16 +0000
commit95db88179ddce5107b769af48c58f250ce86d6c9 (patch)
treedafbbbcf75461529f29df61d33c5a65fe7596738 /pcmcia-cs
parentddcd0bf1a89cac80c6e5166cdbb20f9dfe1d9455 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into gandalf.tm.informatik.uni-frankfurt.de:/home/pb_/packages 2004/06/03 22:32:11+02:00 uni-frankfurt.de!pb_ avoid running pcmcia-cs Configure script to remove dependency on kernel source BKrev: 40bf8ad0oTQVTt1FRuYlsrIp5AlX_g
Diffstat (limited to 'pcmcia-cs')
-rw-r--r--pcmcia-cs/pcmcia-cs_3.2.7.oe24
1 files changed, 22 insertions, 2 deletions
diff --git a/pcmcia-cs/pcmcia-cs_3.2.7.oe b/pcmcia-cs/pcmcia-cs_3.2.7.oe
index 7fe6137c24..0306e78743 100644
--- a/pcmcia-cs/pcmcia-cs_3.2.7.oe
+++ b/pcmcia-cs/pcmcia-cs_3.2.7.oe
@@ -17,8 +17,28 @@ export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kern
sbindir = "/sbin"
do_configure() {
- ./Configure --noprompt --sysv --nopnp --rcdir=${sysconfdir} --arch="${ARCH}" --kernel="${KERNEL_SOURCE}" \
- --srctree --nocardbus --ucc="${CC}" --ld="${LD}" --uflags="${CFLAGS}" --target=.
+ touch .prereq.ok
+ touch config.out
+ cat >config.mk <<EOF
+UCC=${CC}
+UFLAGS=${CFLAGS} -I${S}/include
+HAS_WORDEXP=y
+SYSV_INIT=y
+RC_DIR=/etc
+CONFIG_PNP_BIOS=n
+ARCH=${ARCH}
+CONFIG_CARDBUS=n
+CONFIG_PCMCIA=y
+CONFIG_INET=y
+CONFIG_SCSI=y
+DO_IDE=y
+EOF
+ cat >include/pcmcia/autoconf.h <<EOF
+#define HAS_WORDEXP 1
+EOF
+}
+
+do_compile() {
oe_runmake all HAS_XPM= FLIBS="" XMANDIR=""
}