[oe-commits] Khem Raj : siteinfo: Add common-mips site file.

git version control git at git.openembedded.org
Tue Oct 6 22:31:52 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d744bc6c4e1f50a72974d29ca58c5d861f6f7634
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d744bc6c4e1f50a72974d29ca58c5d861f6f7634

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Oct  5 21:45:41 2009 -0700

siteinfo: Add common-mips site file.

* After renaming the target triplet the file names
  needs to be renamed because they are used in get_siteinfo_list

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 classes/siteinfo.bbclass                  |   25 +++++++++++++------------
 site/{arm-linux => arm-linux-gnu}         |    0 
 site/{armeb-linux => armeb-linux-gnu}     |    0 
 site/mips-common                          |   14 ++++++++++++++
 site/{mips-linux => mips-linux-gnu}       |    0 
 site/{mipsel-linux => mipsel-linux-gnu}   |    0 
 site/{powerpc-linux => powerpc-linux-gnu} |    0 
 site/{sparc-linux => sparc-linux-gnu}     |    0 
 site/{x86_64-linux => x86_64-linux-gnu}   |    0 
 9 files changed, 27 insertions(+), 12 deletions(-)

diff --git a/classes/siteinfo.bbclass b/classes/siteinfo.bbclass
index 2bacd69..d28093d 100644
--- a/classes/siteinfo.bbclass
+++ b/classes/siteinfo.bbclass
@@ -23,14 +23,14 @@ def get_siteinfo_list(d):
        targetinfo = {\
                "armeb-linux":             "endian-big bit-32 common-linux common-glibc arm-common",\
                "armeb-linux-gnu":         "endian-big bit-32 common-linux common-glibc arm-common",\
-               "armeb-linux-gnueabi":     "endian-big bit-32 common-linux common-glibc arm-common armeb-linux",\
+               "armeb-linux-gnueabi":     "endian-big bit-32 common-linux common-glibc arm-common armeb-linux-gnu",\
                "armeb-linux-uclibc":      "endian-big bit-32 common-linux common-uclibc arm-common",\
                "armeb-linux-uclibceabi":  "endian-big bit-32 common-linux common-uclibc arm-common armeb-linux-uclibc",\
                "arm-darwin":              "endian-little bit-32 common-darwin",\
                "arm-darwin9":             "endian-little bit-32 common-darwin",\
                "arm-linux":               "endian-little bit-32 common-linux common-glibc arm-common",\
                "arm-linux-gnu":           "endian-little bit-32 common-linux common-glibc arm-common",\
-               "arm-linux-gnueabi":       "endian-little bit-32 common-linux common-glibc arm-common arm-linux",\
+               "arm-linux-gnueabi":       "endian-little bit-32 common-linux common-glibc arm-common arm-linux-gnu",\
                "arm-linux-uclibc":        "endian-little bit-32 common-linux common-uclibc arm-common",\
                "arm-linux-uclibceabi":    "endian-little bit-32 common-linux common-uclibc arm-common arm-linux-uclibc",\
                "avr32-linux-uclibc":      "endian-big bit-32 common-linux common-uclibc avr32-common",\
@@ -57,17 +57,17 @@ def get_siteinfo_list(d):
                "i686-mingw32":            "endian-little bit-32 common-mingw ix86-common",\
 	       "ia64-linux":		  "endian-little bit-64 common-linux common-glibc",\
 	       "ia64-linux-gnu":	  "endian-little bit-64 common-linux common-glibc",\
-               "mipsel-linux":            "endian-little bit-32 common-linux common-glibc",\
-               "mipsel-linux-gnu":        "endian-little bit-32 common-linux common-glibc",\
-               "mipsel-linux-uclibc":     "endian-little bit-32 common-linux common-uclibc",\
-               "mips-linux":              "endian-big bit-32 common-linux common-glibc",\
-               "mips-linux-gnu":          "endian-big bit-32 common-linux common-glibc",\
-               "mips-linux-uclibc":       "endian-big bit-32 common-linux common-uclibc",\
+               "mipsel-linux":            "endian-little bit-32 common-linux common-glibc mips-common",\
+               "mipsel-linux-gnu":        "endian-little bit-32 common-linux common-glibc mips-common",\
+               "mipsel-linux-uclibc":     "endian-little bit-32 common-linux common-uclibc mips-common",\
+               "mips-linux":              "endian-big bit-32 common-linux common-glibc mips-common",\
+               "mips-linux-gnu":          "endian-big bit-32 common-linux common-glibc mips-common",\
+               "mips-linux-uclibc":       "endian-big bit-32 common-linux common-uclibc mips-common",\
                "powerpc-darwin":          "endian-big bit-32 common-darwin",\
-               "ppc-linux":               "endian-big bit-32 common-linux common-glibc powerpc-common",\ 
-               "ppc-linux-gnu":           "endian-big bit-32 common-linux common-glibc powerpc-common",\ 
-               "ppc64-linux":             "endian-big bit-64 common-linux common-glibc powerpc-common",\ 
-               "ppc64-linux-gnu":         "endian-big bit-64 common-linux common-glibc powerpc-common",\ 
+               "ppc-linux":               "endian-big bit-32 common-linux common-glibc powerpc-common",\
+               "ppc-linux-gnu":           "endian-big bit-32 common-linux common-glibc powerpc-common",\
+               "ppc64-linux":             "endian-big bit-64 common-linux common-glibc powerpc-common",\
+               "ppc64-linux-gnu":         "endian-big bit-64 common-linux common-glibc powerpc-common",\
 	       "powerpc-linux":           "endian-big bit-32 common-linux common-glibc powerpc-common",\
 	       "powerpc-linux-gnu":       "endian-big bit-32 common-linux common-glibc powerpc-common",\
 	       "powerpc-linux-gnuspe":    "endian-big bit-32 common-linux common-glibc powerpc-common",\
@@ -89,6 +89,7 @@ def get_siteinfo_list(d):
                info = targetinfo[target].split()
                info.append(target)
                info.append("common")
+	       print info
                return info
        else:
                bb.error("Information not available for target '%s'" % target)
diff --git a/site/arm-linux b/site/arm-linux-gnu
similarity index 100%
rename from site/arm-linux
rename to site/arm-linux-gnu
diff --git a/site/armeb-linux b/site/armeb-linux-gnu
similarity index 100%
rename from site/armeb-linux
rename to site/armeb-linux-gnu
diff --git a/site/mips-common b/site/mips-common
new file mode 100644
index 0000000..baffaab
--- /dev/null
+++ b/site/mips-common
@@ -0,0 +1,14 @@
+ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
+ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
+
+# screen
+screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
+screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
+screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
+screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
+screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
+screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
+screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
+screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
+screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
+
diff --git a/site/mips-linux b/site/mips-linux-gnu
similarity index 100%
rename from site/mips-linux
rename to site/mips-linux-gnu
diff --git a/site/mipsel-linux b/site/mipsel-linux-gnu
similarity index 100%
rename from site/mipsel-linux
rename to site/mipsel-linux-gnu
diff --git a/site/powerpc-linux b/site/powerpc-linux-gnu
similarity index 100%
rename from site/powerpc-linux
rename to site/powerpc-linux-gnu
diff --git a/site/sparc-linux b/site/sparc-linux-gnu
similarity index 100%
rename from site/sparc-linux
rename to site/sparc-linux-gnu
diff --git a/site/x86_64-linux b/site/x86_64-linux-gnu
similarity index 100%
rename from site/x86_64-linux
rename to site/x86_64-linux-gnu





More information about the Openembedded-commits mailing list