diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-07-22 18:59:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 12:02:45 +0100 |
commit | 5068a8befd7695cb0c210821078e3298761f5ecb (patch) | |
tree | d83800940cde21afc274ea192e9ee25235043986 | |
parent | 4193d0e54255ac3a6f6c45b8fe613ff9acadd2aa (diff) | |
download | poky-5068a8befd7695cb0c210821078e3298761f5ecb.tar.gz |
siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout
I believe that powerpc-linux is now a common file across 32bit/64bit
linux for powerpc be it uclibc or glibc. I compared the differences
between powerpc-linux-uclibc and powerpc-linux files and it
powerpc-linux was more uptodate and all the new stuff it had was needed
for uclibc anyway so we do not need to keep exact copy of powerpc-linux
as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc
targets.
Secondly linux specific files were added in archinfo dictionary
which I think logically belongs to targetinfo dictionary therefore
moved them to targetinfo
now uclibc/powerpc is buildable again
(From OE-Core rev: 0fc798640ba60cbb9074d617ba18518b113b7186)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/siteinfo.bbclass | 16 | ||||
-rw-r--r-- | meta/site/powerpc-linux-uclibc | 0 |
2 files changed, 10 insertions, 6 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index f3c24e88f3..9dacd58d13 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
@@ -33,11 +33,11 @@ def siteinfo_data(d): | |||
33 | "mips64": "endian-big bit-64 mips64-common", | 33 | "mips64": "endian-big bit-64 mips64-common", |
34 | "mips64el": "endian-little bit-64 mips64-common", | 34 | "mips64el": "endian-little bit-64 mips64-common", |
35 | "mipsel": "endian-little bit-32 mips-common", | 35 | "mipsel": "endian-little bit-32 mips-common", |
36 | "powerpc": "endian-big bit-32 powerpc-common powerpc32-linux", | 36 | "powerpc": "endian-big bit-32 powerpc-common", |
37 | "nios2": "endian-little bit-32 nios2-common", | 37 | "nios2": "endian-little bit-32 nios2-common", |
38 | "powerpc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux", | 38 | "powerpc64": "endian-big bit-64 powerpc-common", |
39 | "ppc": "endian-big bit-32 powerpc-common powerpc32-linux", | 39 | "ppc": "endian-big bit-32 powerpc-common", |
40 | "ppc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux", | 40 | "ppc64": "endian-big bit-64 powerpc-common", |
41 | "sh3": "endian-little bit-32 sh-common", | 41 | "sh3": "endian-little bit-32 sh-common", |
42 | "sh4": "endian-little bit-32 sh-common", | 42 | "sh4": "endian-little bit-32 sh-common", |
43 | "sparc": "endian-big bit-32", | 43 | "sparc": "endian-big bit-32", |
@@ -62,8 +62,12 @@ def siteinfo_data(d): | |||
62 | "arm-linux-uclibceabi": "arm-linux-uclibc", | 62 | "arm-linux-uclibceabi": "arm-linux-uclibc", |
63 | "armeb-linux-gnueabi": "armeb-linux", | 63 | "armeb-linux-gnueabi": "armeb-linux", |
64 | "armeb-linux-uclibceabi": "armeb-linux-uclibc", | 64 | "armeb-linux-uclibceabi": "armeb-linux-uclibc", |
65 | "powerpc-linux-gnuspe": "powerpc-linux", | 65 | "powerpc-linux": "powerpc32-linux", |
66 | "powerpc-linux-uclibcspe": "powerpc-linux-uclibc", | 66 | "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", |
67 | "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", | ||
68 | "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc", | ||
69 | "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", | ||
70 | "powerpc64-linux": "powerpc-linux", | ||
67 | } | 71 | } |
68 | 72 | ||
69 | hostarch = d.getVar("HOST_ARCH", True) | 73 | hostarch = d.getVar("HOST_ARCH", True) |
diff --git a/meta/site/powerpc-linux-uclibc b/meta/site/powerpc-linux-uclibc deleted file mode 100644 index e69de29bb2..0000000000 --- a/meta/site/powerpc-linux-uclibc +++ /dev/null | |||