summaryrefslogtreecommitdiff
path: root/packages/pcmcia-cs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pcmcia-cs')
-rw-r--r--packages/pcmcia-cs/pcmcia-cs-3.2.8/ide.opts.spitz0
-rw-r--r--packages/pcmcia-cs/pcmcia-cs-3.2.8/nocleanup.patch0
-rw-r--r--packages/pcmcia-cs/pcmcia-cs_3.2.8.bb15
3 files changed, 13 insertions, 2 deletions
diff --git a/packages/pcmcia-cs/pcmcia-cs-3.2.8/ide.opts.spitz b/packages/pcmcia-cs/pcmcia-cs-3.2.8/ide.opts.spitz
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pcmcia-cs/pcmcia-cs-3.2.8/ide.opts.spitz
diff --git a/packages/pcmcia-cs/pcmcia-cs-3.2.8/nocleanup.patch b/packages/pcmcia-cs/pcmcia-cs-3.2.8/nocleanup.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pcmcia-cs/pcmcia-cs-3.2.8/nocleanup.patch
diff --git a/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb b/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb
index 6b3895a046..7c1bb8476d 100644
--- a/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb
+++ b/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb
@@ -3,7 +3,7 @@ SECTION = "base"
PRIORITY = "required"
LICENSE = "GPL"
DEPENDS = "virtual/kernel"
-PR = "r17"
+PR = "r18"
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
file://busybox.patch;patch=1 \
@@ -13,9 +13,12 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
file://ratoc-cfu1u.patch;patch=1 \
file://pcmcia \
file://ide.opts \
+ file://ide.opts.spitz \
file://wireless.opts \
file://network.conf \
file://wnv.conf"
+
+SRC_URI_append_spitz += " file://nocleanup.patch;patch=1"
S = "${WORKDIR}/pcmcia-cs-${PV}"
INITSCRIPT_NAME = "pcmcia"
@@ -80,7 +83,15 @@ do_install() {
# ensure that config.opts always exists, albeit empty
echo >> ${D}${sysconfdir}/pcmcia/config.opts
- install -m 0644 ${WORKDIR}/ide.opts ${D}${sysconfdir}/pcmcia/
+ case ${MACHINE} in
+ spitz)
+ install -m 0644 ${WORKDIR}/ide.opts.spitz \
+ ${D}${sysconfdir}/pcmcia/ide.opts
+ ;;
+ *)
+ install -m 0644 ${WORKDIR}/ide.opts ${D}${sysconfdir}/pcmcia/
+ ;;
+ esac
install -m 0644 ${WORKDIR}/wireless.opts ${D}${sysconfdir}/pcmcia/
for i in etc/cis/*; do
install -m 0644 $i ${D}${sysconfdir}/pcmcia/cis/