diff options
Diffstat (limited to 'meta/packages/pciutils/pciutils-3.1.5/guess-fix.patch')
-rw-r--r-- | meta/packages/pciutils/pciutils-3.1.5/guess-fix.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/packages/pciutils/pciutils-3.1.5/guess-fix.patch b/meta/packages/pciutils/pciutils-3.1.5/guess-fix.patch deleted file mode 100644 index 9072d2a68f..0000000000 --- a/meta/packages/pciutils/pciutils-3.1.5/guess-fix.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | the original guess algorithm is broken for many archs | ||
2 | for example, the following two would break: | ||
3 | arm-linux-gnueabi --> sys=gnueabi | ||
4 | x86_64-unknown-pc-linux-gnu --> sys = pc-linux-gnu | ||
5 | |||
6 | use a simpler scheme here and hope it works for all the cases | ||
7 | |||
8 | 7/30/2010 - created by Qing He <qing.he@intel.com> | ||
9 | |||
10 | diff --git a/lib/configure b/lib/configure | ||
11 | index 4318b05..84f6acb 100755 | ||
12 | --- a/lib/configure | ||
13 | +++ b/lib/configure | ||
14 | @@ -53,20 +53,7 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
15 | sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
16 | echo " $host $rel $cpu $sys" | ||
17 | |||
18 | -if [ "$host" = "linux--gnueabi" ] | ||
19 | -then | ||
20 | - sys=linux | ||
21 | -fi | ||
22 | - | ||
23 | -if [ "$host" = "linux--uclibc" ] | ||
24 | -then | ||
25 | - sys=linux | ||
26 | -fi | ||
27 | - | ||
28 | -if [ "$host" = "linux--uclibcgnueabi" ] | ||
29 | -then | ||
30 | - sys=linux | ||
31 | -fi | ||
32 | +{ echo "$host" | grep linux; } && sys=linux | ||
33 | |||
34 | c=config.h | ||
35 | m=config.mk | ||