summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc')
-rw-r--r--import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc b/import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc
new file mode 100644
index 000000000..84ca528d6
--- /dev/null
+++ b/import-layers/yocto-poky/meta/conf/machine/include/tune-ep9312.inc
@@ -0,0 +1,12 @@
+DEFAULTTUNE ?= "ep9312"
+
+require conf/machine/include/arm/arch-armv4.inc
+
+TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', ' -march=ep9312 -mcpu=ep9312', '', d)}"
+
+AVAILTUNES += "ep9312"
+ARMPKGARCH_tune-ep9312 = "ep9312"
+# this tune does not include TUNE_FEATURES_tune-armv4t, so there is no armv4 TUNE_FEATURES => no 't' in ARMPKGSFX_THUMB
+TUNE_FEATURES_tune-ep9312 = "thumb ep9312"
+PACKAGE_EXTRA_ARCHS_tune-ep9312 = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} ep9312"
OpenPOWER on IntegriCloud