diff options
author | Valentin Popa <valentin.popa@intel.com> | 2013-11-22 12:24:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-24 12:25:34 +0000 |
commit | 27fb21db02e364bea1cafbc4700bbb59e09bf2b2 (patch) | |
tree | 923566bea206dfcc05af4ee51194c550337ee7fc /meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | |
parent | d796b6432c94555dbe98b9030591c5c6f15a3ab1 (diff) | |
download | poky-27fb21db02e364bea1cafbc4700bbb59e09bf2b2.tar.gz |
pciutils: upgrade to 3.2.1
(From OE-Core rev: f0edfb3a78657c43fb74ebb1c481af3e9d11fc3f)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils/guess-fix.patch')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch b/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch new file mode 100644 index 0000000000..540b4a0d13 --- /dev/null +++ b/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | |||
@@ -0,0 +1,37 @@ | |||
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 | Upstream-Status: Pending | ||
9 | |||
10 | 7/30/2010 - created by Qing He <qing.he@intel.com> | ||
11 | |||
12 | diff --git a/lib/configure b/lib/configure | ||
13 | index 4318b05..84f6acb 100755 | ||
14 | --- a/lib/configure | ||
15 | +++ b/lib/configure | ||
16 | @@ -53,20 +53,7 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
17 | sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
18 | echo " $host $rel $cpu $sys" | ||
19 | |||
20 | -if [ "$host" = "linux--gnueabi" ] | ||
21 | -then | ||
22 | - sys=linux | ||
23 | -fi | ||
24 | - | ||
25 | -if [ "$host" = "linux--uclibc" ] | ||
26 | -then | ||
27 | - sys=linux | ||
28 | -fi | ||
29 | - | ||
30 | -if [ "$host" = "linux--uclibceabi" ] | ||
31 | -then | ||
32 | - sys=linux | ||
33 | -fi | ||
34 | +{ echo "$host" | grep linux; } && sys=linux | ||
35 | |||
36 | c=config.h | ||
37 | m=config.mk | ||