diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-30 16:33:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 00:40:17 +0100 |
commit | a965a615c130a05b9d8055f3d29aabe3d30df4f6 (patch) | |
tree | 5d34d22fef81325bb755e12fecaf7efac8699743 | |
parent | 1c1372e7eccb01f7c1f682bc0aa989c37f2516f6 (diff) | |
download | 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>
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine | 16 | ||||
-rw-r--r-- | 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 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 | |||
6 | CONFIG_MIPS_ISA_MIPS32=y | ||
7 | |||
8 | # Below options are exact copy of general | ||
9 | # uClibc.machine file | ||
10 | # | ||
11 | FORCE_OPTIONS_FOR_ARCH=y | ||
12 | ARCH_HAS_MMU=y | ||
13 | ARCH_USE_MMU=y | ||
14 | KERNEL_HEADERS="/usr/include" | ||
15 | HAVE_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 | # | ||
9 | FORCE_OPTIONS_FOR_ARCH=y | ||
10 | ARCH_HAS_MMU=y | ||
11 | ARCH_USE_MMU=y | ||
12 | KERNEL_HEADERS="/usr/include" | ||
13 | HAVE_DOT_CONFIG=y | ||
14 | |||