summaryrefslogtreecommitdiff
path: root/meta/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/tune-armv5te.inc5
-rw-r--r--meta/conf/machine/mx31litekit.conf2
2 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-armv5te.inc b/meta/conf/machine/include/tune-armv5te.inc
new file mode 100644
index 000000000..5cced4166
--- /dev/null
+++ b/meta/conf/machine/include/tune-armv5te.inc
@@ -0,0 +1,5 @@
+FEED_ARCH = "armv5te"
+
+TARGET_CC_ARCH = "-march=armv5te"
+TARGET_CC_KERNEL_ARCH = "-march=armv5te"
+PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
diff --git a/meta/conf/machine/mx31litekit.conf b/meta/conf/machine/mx31litekit.conf
index bcb5e360f..2a0fddd70 100644
--- a/meta/conf/machine/mx31litekit.conf
+++ b/meta/conf/machine/mx31litekit.conf
@@ -10,3 +10,5 @@ MACHINE_FEATURES = "kernel26 apm alsa bluetooth irda screen touchscreen"
IMAGE_FSTYPES ?= "tar.gz"
SERIAL_CONSOLE = "-L 115200 ttymxc0"
+
+require conf/machine/include/armv5te.inc \ No newline at end of file