[oe-commits] Khem Raj : uclibc: Add default uClibc.machine files

git version control git at git.openembedded.org
Thu Jun 30 23:41:36 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 40ecaf6a59ba61e72d29d7e677197ef37c998408
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=40ecaf6a59ba61e72d29d7e677197ef37c998408

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jun 30 16:33:17 2011 -0700

uclibc: Add default uClibc.machine files

Add generic machine config file

uClibc.machine in topdir should work mostly
and odd ones like mips should have a copy
of their own as explained

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../uclibc/uclibc-git/mips/uClibc.machine          |   16 ++++++++++++++++
 meta/recipes-core/uclibc/uclibc-git/uClibc.machine |   14 ++++++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine b/meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine
new file mode 100644
index 0000000..7d7ab3f
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine
@@ -0,0 +1,16 @@
+# in OE we use TARGET_CC_ARCH="-march=mips32" but by
+# default uclibc uses mips1 ISA for o32 ABI which ends
+# up with conflicting march options to gcc. Here we
+# ask for MIPS32 ISA to match the OE defaults
+
+CONFIG_MIPS_ISA_MIPS32=y
+
+# Below options are exact copy of general
+# uClibc.machine file
+#
+FORCE_OPTIONS_FOR_ARCH=y
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+KERNEL_HEADERS="/usr/include"
+HAVE_DOT_CONFIG=y
+
diff --git a/meta/recipes-core/uclibc/uclibc-git/uClibc.machine b/meta/recipes-core/uclibc/uclibc-git/uClibc.machine
new file mode 100644
index 0000000..595f444
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/uClibc.machine
@@ -0,0 +1,14 @@
+#
+# Automatically generated make config: don't edit
+# Version: 0.9.32-git
+# Mon Jul 19 01:34:29 2010
+#
+#
+# Using ELF file format
+#
+FORCE_OPTIONS_FOR_ARCH=y
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
+KERNEL_HEADERS="/usr/include"
+HAVE_DOT_CONFIG=y
+





More information about the Openembedded-commits mailing list