summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-11-10 09:03:31 +0800
committerSaul Wold <sgw@linux.intel.com>2010-11-14 16:50:19 -0800
commitb24ca397c40d3b5fe788b85936adb7dd56b6a7da (patch)
tree6df1f0055de14c4b0a943f553abb805f8fd9af3a /meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch
parentefa037b655d9d6f7ae45e019b2eb26763aa0f202 (diff)
downloadopenembedded-core-b24ca397c40d3b5fe788b85936adb7dd56b6a7da.tar.gz
openembedded-core-b24ca397c40d3b5fe788b85936adb7dd56b6a7da.tar.bz2
openembedded-core-b24ca397c40d3b5fe788b85936adb7dd56b6a7da.tar.xz
openembedded-core-b24ca397c40d3b5fe788b85936adb7dd56b6a7da.zip
pciutils: upgrade to version 3.1.7
from 3.1.5 Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch102
1 files changed, 0 insertions, 102 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch b/meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch
deleted file mode 100644
index 1bfe72475..000000000
--- a/meta/recipes-bsp/pciutils/pciutils-3.1.5/configure.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
----
-
-7/30/2010 - rebased to 3.1.5 by Qing He <qing.he@intel.com>
-
-diff -uNr pciutils-3.1.5.orig/lib/configure pciutils-3.1.5/lib/configure
---- pciutils-3.1.5.orig/lib/configure 2010-07-30 13:51:58.000000000 +0800
-+++ pciutils-3.1.5/lib/configure 2010-07-30 13:53:25.000000000 +0800
-@@ -14,6 +14,10 @@
- fi
- }
-
-+VERSION=$1
-+IDSDIR=$2
-+DNS=yes
-+
- if [ -z "$VERSION" -o -z "$IDSDIR" ] ; then
- echo >&2 "Please run the configure script from the top-level Makefile"
- exit 1
-@@ -21,8 +25,8 @@
-
- echo_n "Configuring libpci for your system..."
- if [ -z "$HOST" ] ; then
-- sys=`uname -s`
-- rel=`uname -r`
-+ sys=${3:-`uname -s`}
-+ rel=
- realsys="$sys"
- if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ]
- then
-@@ -30,7 +34,7 @@
- proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1`
- cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
- else
-- cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'`
-+ cpu=${4:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'`}
- fi
- if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
- then
-@@ -40,7 +44,7 @@
- then
- sys=cygwin
- fi
-- HOST=${3:-$cpu-$sys}
-+ HOST=$cpu-$sys
- fi
- [ -n "$RELEASE" ] && rel="${RELEASE}"
- # CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless.
-@@ -49,6 +53,21 @@
- sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo " $host $rel $cpu $sys"
-
-+if [ "$host" = "linux--gnueabi" ]
-+then
-+ sys=linux
-+fi
-+
-+if [ "$host" = "linux--uclibc" ]
-+then
-+ sys=linux
-+fi
-+
-+if [ "$host" = "linux--uclibcgnueabi" ]
-+then
-+ sys=linux
-+fi
-+
- c=config.h
- m=config.mk
- echo >$c '#define PCI_CONFIG_H'
-diff -uNr pciutils-3.1.5.orig/Makefile pciutils-3.1.5/Makefile
---- pciutils-3.1.5.orig/Makefile 2010-07-30 13:51:58.000000000 +0800
-+++ pciutils-3.1.5/Makefile 2010-07-30 13:52:24.000000000 +0800
-@@ -37,7 +37,6 @@
- # Commands
- INSTALL=install
- DIRINSTALL=install -d
--STRIP=-s
- CC=$(CROSS_COMPILE)gcc
- AR=$(CROSS_COMPILE)ar
- RANLIB=$(CROSS_COMPILE)ranlib
-@@ -86,7 +85,7 @@
- example.o: example.c $(PCIINC)
-
- %: %.o
-- $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ $(LDLIBS) -o $@
-+ $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ $(LIB_LDLIBS) -o $@
-
- %.8 %.7: %.man
- M=`echo $(DATE) | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pciutils-$(VERSION)/;s#@IDSDIR@#$(IDSDIR)#"
-@@ -101,7 +100,7 @@
- install: all
- # -c is ignored on Linux, but required on FreeBSD
- $(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8 $(DESTDIR)$(MANDIR)/man7
-- $(INSTALL) -c -m 755 $(STRIP) lspci setpci $(DESTDIR)$(SBINDIR)
-+ $(INSTALL) -c -m 755 lspci setpci $(DESTDIR)$(SBINDIR)
- $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
- $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
- $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8