summaryrefslogtreecommitdiffstats
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
parent1c1372e7eccb01f7c1f682bc0aa989c37f2516f6 (diff)
downloadpoky-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>
-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 0000000000..7d7ab3f418
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine
@@ -0,0 +1,16 @@
1# in OE we use TARGET_CC_ARCH="-march=mips32" but by
2# default uclibc uses mips1 ISA for o32 ABI which ends
3# up with conflicting march options to gcc. Here we
4# ask for MIPS32 ISA to match the OE defaults
5
6CONFIG_MIPS_ISA_MIPS32=y
7
8# Below options are exact copy of general
9# uClibc.machine file
10#
11FORCE_OPTIONS_FOR_ARCH=y
12ARCH_HAS_MMU=y
13ARCH_USE_MMU=y
14KERNEL_HEADERS="/usr/include"
15HAVE_DOT_CONFIG=y
16
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 0000000000..595f444dac
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/uClibc.machine
@@ -0,0 +1,14 @@
1#
2# Automatically generated make config: don't edit
3# Version: 0.9.32-git
4# Mon Jul 19 01:34:29 2010
5#
6#
7# Using ELF file format
8#
9FORCE_OPTIONS_FOR_ARCH=y
10ARCH_HAS_MMU=y
11ARCH_USE_MMU=y
12KERNEL_HEADERS="/usr/include"
13HAVE_DOT_CONFIG=y
14