diff options
Diffstat (limited to 'yocto-poky/meta/conf/machine/include/tune-sh3.inc')
-rw-r--r-- | yocto-poky/meta/conf/machine/include/tune-sh3.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/yocto-poky/meta/conf/machine/include/tune-sh3.inc b/yocto-poky/meta/conf/machine/include/tune-sh3.inc new file mode 100644 index 000000000..c5ed7bab9 --- /dev/null +++ b/yocto-poky/meta/conf/machine/include/tune-sh3.inc @@ -0,0 +1,17 @@ +DEFAULTTUNE ?= "sh3" + +require conf/machine/include/sh/arch-sh.inc + +TUNEVALID[sh3] = "Enable SH3 optimizations" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "sh3", " -m3", "", d)}" + +AVAILTUNES += "sh3 sh3eb" +TUNE_FEATURES_tune-sh3 = "sh3" +TUNE_ARCH_tune-sh3 = "sh3" +TUNE_PKGARCH_tune-sh3 = "sh3" +PACKAGE_EXTRA_ARCHS_tune-sh3 = "sh sh3" + +TUNE_FEATURES_tune-sh3eb = "sh3 bigendian" +TUNE_ARCH_tune-sh3eb = "sh3eb" +TUNE_PKGARCH_tune-sh3eb = "sh3eb" +PACKAGE_EXTRA_ARCHS_tune-sh3eb = "sheb sh3eb" |