diff options
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils/guess-fix.patch')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch b/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch index 540b4a0d13..f918e3bdc3 100644 --- a/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch +++ b/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | |||
@@ -13,7 +13,7 @@ diff --git a/lib/configure b/lib/configure | |||
13 | index 4318b05..84f6acb 100755 | 13 | index 4318b05..84f6acb 100755 |
14 | --- a/lib/configure | 14 | --- a/lib/configure |
15 | +++ b/lib/configure | 15 | +++ b/lib/configure |
16 | @@ -53,20 +53,7 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 16 | @@ -53,10 +53,7 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
17 | sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 17 | sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
18 | echo " $host $rel $cpu $sys" | 18 | echo " $host $rel $cpu $sys" |
19 | 19 | ||
@@ -21,16 +21,6 @@ index 4318b05..84f6acb 100755 | |||
21 | -then | 21 | -then |
22 | - sys=linux | 22 | - sys=linux |
23 | -fi | 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 | 24 | +{ echo "$host" | grep linux; } && sys=linux |
35 | 25 | ||
36 | c=config.h | 26 | c=config.h |