try to make XScale pattern match on mikelp's machine
authorPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 20:25:02 +0000 (20:25 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 20:25:02 +0000 (20:25 +0000)
BKrev: 41323b9eQ9QY7nszWxXYUZYO9cf9EQ

pcmcia-cs/files/arm/pcmcia
pcmcia-cs/pcmcia-cs_3.2.8.oe

index e69de29..9bb1f49 100644 (file)
@@ -0,0 +1,13 @@
+case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
+  *XScale-PXA2*)
+    PCIC=pxa_cs
+    ;;
+  StrongARM-SA1100 | StrongARM-SA1110)
+    PCIC=sa1100_cs
+    ;;
+  *)
+    echo "Unable to determine PCIC value for this CPU"
+    exit 1
+    ;;
+esac
+
index 7247a62..0bbac77 100644 (file)
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "virtual/kernel"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
           file://busybox.patch;patch=1 \