summaryrefslogtreecommitdiff
path: root/meta/recipes-core/uclibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-30 16:33:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 00:40:10 +0100
commit40ecaf6a59ba61e72d29d7e677197ef37c998408 (patch)
tree0353241fa7f84d9e24c7ac9be9f483727f0cd73f /meta/recipes-core/uclibc
parent2ae82c876c1371fcf82642b141bacc70c86e7e84 (diff)
downloadopenembedded-core-40ecaf6a59ba61e72d29d7e677197ef37c998408.tar.gz
openembedded-core-40ecaf6a59ba61e72d29d7e677197ef37c998408.tar.bz2
openembedded-core-40ecaf6a59ba61e72d29d7e677197ef37c998408.tar.xz
openembedded-core-40ecaf6a59ba61e72d29d7e677197ef37c998408.zip
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc')
-rw-r--r--meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine16
-rw-r--r--meta/recipes-core/uclibc/uclibc-git/uClibc.machine14
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 000000000..7d7ab3f41
--- /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 000000000..595f444da
--- /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
+