diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-15 23:43:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-22 09:16:01 +0100 |
commit | 5e9b0569e2f1ba613bf0b28e40cf2fe8a2fb6a10 (patch) | |
tree | e05393da61d04ee77ef476f1fe4e3a3245683964 /meta/recipes-bsp/pciutils/pciutils/guess-fix.patch | |
parent | 4c2d0b1205be2c0e42cafea1de18e46edf4a374b (diff) | |
download | poky-5e9b0569e2f1ba613bf0b28e40cf2fe8a2fb6a10.tar.gz |
pciutils: Fold patches into a single patch with a description
Patches patching content from other patches is bad. This folds the three
patches into one, improves some of what its doing to be a little
cleaner and adds a proper description to the patch header.
This also moves the STRIP override to the configure commandline rather
than patching and handles passing libdir the same way.
(From OE-Core rev: 186b30798cf74b738483e8708157cac628c1d3cd)
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 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch b/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch deleted file mode 100644 index f918e3bdc3..0000000000 --- a/meta/recipes-bsp/pciutils/pciutils/guess-fix.patch +++ /dev/null | |||
@@ -1,27 +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 | 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,10 +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 | +{ echo "$host" | grep linux; } && sys=linux | ||
25 | |||
26 | c=config.h | ||
27 | m=config.mk | ||