diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-15 11:07:28 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-15 11:07:28 +0000 |
commit | 511a68cecc3e0f544ba539fe3db38027cfbaa64f (patch) | |
tree | 46b2001dfe9c3b5009b26589b7d176e640716526 /pcmcia-cs | |
parent | 111ddb9f5006aced16a81627ea068df195283005 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages
2004/08/15 13:06:41+02:00 uni-frankfurt.de!mickey
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2004/08/15 13:06:32+02:00 uni-frankfurt.de!mickey
Qt/Embedded: Fix all kinds of strange effects caused by
conditionals in structures. We now unconditionally define QT_NO_QWS_CURSOR and QT_NO_QWS_MOUSE_AUTO.
2004/08/15 12:56:05+02:00 uni-frankfurt.de!mickey
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2004/08/15 02:11:30+02:00 uni-frankfurt.de!mickey
pcmcia-cs: add network.conf for files not listed in the upstream network file
BKrev: 411f43f0D55gz2Fx3dnn3hK4nC-i6w
Diffstat (limited to 'pcmcia-cs')
-rw-r--r-- | pcmcia-cs/files/network.conf | 0 | ||||
-rw-r--r-- | pcmcia-cs/pcmcia-cs_3.2.8.oe | 78 |
2 files changed, 78 insertions, 0 deletions
diff --git a/pcmcia-cs/files/network.conf b/pcmcia-cs/files/network.conf new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/pcmcia-cs/files/network.conf diff --git a/pcmcia-cs/pcmcia-cs_3.2.8.oe b/pcmcia-cs/pcmcia-cs_3.2.8.oe index e69de29bb2..433092e8da 100644 --- a/pcmcia-cs/pcmcia-cs_3.2.8.oe +++ b/pcmcia-cs/pcmcia-cs_3.2.8.oe @@ -0,0 +1,78 @@ +DESCRIPTION = "Utilities and system configuration files for the Linux PCMCIA card services" +SECTION = "base" +PRIORITY = "required" +LICENSE = "GPL" +DEPENDS = "virtual/kernel" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \ + file://busybox.patch;patch=1 \ + file://network.patch;patch=1 \ + file://ide.opts \ + file://wireless.opts \ + file://network.conf" +S = "${WORKDIR}/pcmcia-cs-${PV}" + +INITSCRIPT_NAME = "pcmcia" +INITSCRIPT_PARAMS = "defaults" + +inherit update-rc.d + +export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} + +sbindir = "/sbin" + +do_configure() { + 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="" +} + +INSTALL_ETC = "ftl ide ieee1394 memory network parport scsi serial wireless" +INSTALL_ETC_DATA = "config config.opts ftl.opts ieee1394.opts memory.opts network.opts parport.opts scsi.opts serial.opts shared" + +do_install() { + install -d ${D}/${sbindir} + for f in cardmgr/cardctl cardmgr/cardmgr cardmgr/ide_info cardmgr/ifport cardmgr/ifuser cardmgr/pcinitrd flash/ftl_check flash/ftl_format + do + install -m 0755 $f ${D}/${sbindir}/ + done + install -d ${D}/${sysconfdir}/init.d \ + ${D}/${sysconfdir}/pcmcia \ + ${D}/${sysconfdir}/pcmcia/cis + install -m 0644 ${WORKDIR}/network.conf ${D}/${sysconfdir}/pcmcia/ + for i in ${INSTALL_ETC}; do + install etc/${i} ${D}/${sysconfdir}/pcmcia/ + done + for i in ${INSTALL_ETC_DATA}; do + install -m 0644 etc/${i} ${D}/${sysconfdir}/pcmcia/ + done + install -m 0644 ${WORKDIR}/ide.opts ${D}/${sysconfdir}/pcmcia/ + install -m 0644 ${WORKDIR}/wireless.opts ${D}/${sysconfdir}/pcmcia/ + for i in etc/cis/*; do + install -m 0644 $i ${D}/${sysconfdir}/pcmcia/cis/ + done + install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia +} + +FILES_${PN} = "${sbindir} ${sysconfdir}" |