diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch b/meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch new file mode 100644 index 0000000000..9072d2a68f --- /dev/null +++ b/meta/recipes-bsp/pciutils/pciutils-3.1.5/guess-fix.patch | |||
@@ -0,0 +1,35 @@ | |||
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 | ||