summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-git
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:17 +0100
commita965a615c130a05b9d8055f3d29aabe3d30df4f6 (patch)
tree5d34d22fef81325bb755e12fecaf7efac8699743 /meta/recipes-core/uclibc/uclibc-git
parent1c1372e7eccb01f7c1f682bc0aa989c37f2516f6 (diff)
downloadast2050-yocto-poky-a965a615c130a05b9d8055f3d29aabe3d30df4f6.zip
ast2050-yocto-poky-a965a615c130a05b9d8055f3d29aabe3d30df4f6.tar.gz
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 (From OE-Core rev: 40ecaf6a59ba61e72d29d7e677197ef37c998408) 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/uclibc-git')
-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 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
+
OpenPOWER on IntegriCloud