aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-0.9.33/mips/uClibc.machine
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-0.9.33/mips/uClibc.machine')
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.33/mips/uClibc.machine16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.33/mips/uClibc.machine b/meta/recipes-core/uclibc/uclibc-0.9.33/mips/uClibc.machine
new file mode 100644
index 0000000000..7d7ab3f418
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-0.9.33/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
+