From 40ecaf6a59ba61e72d29d7e677197ef37c998408 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 30 Jun 2011 16:33:17 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine | 16 ++++++++++++++++ meta/recipes-core/uclibc/uclibc-git/uClibc.machine | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-core/uclibc/uclibc-git/mips/uClibc.machine create mode 100644 meta/recipes-core/uclibc/uclibc-git/uClibc.machine (limited to 'meta/recipes-core/uclibc') 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 + -- cgit v1.2.3