blob: b25995d495aa4d388a738e06b0df3b6b4f9a9513 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001DEFAULTTUNE ?= "armv6hf"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1136jfs] = "Enable arm1136jfs specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', ' -mcpu=arm1136jf-s', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -04007MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', 'armv6:', '' ,d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
Brad Bishop79641f22019-09-10 07:20:22 -04009AVAILTUNES += "arm1136jfs arm1136jfshf"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010ARMPKGARCH_tune-arm1136jfs = "arm1136jfs"
Brad Bishop79641f22019-09-10 07:20:22 -040011ARMPKGARCH_tune-arm1136jfshf = "arm1136jfs"
Brad Bishop19323692019-04-05 15:28:33 -040012# mcpu is used so don't use armv6 as we don't want march
13TUNE_FEATURES_tune-arm1136jfs = "arm arm1136jfs"
Brad Bishop79641f22019-09-10 07:20:22 -040014TUNE_FEATURES_tune-arm1136jfshf = "${TUNE_FEATURES_tune-arm1136jfs} callconvention-hard"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015PACKAGE_EXTRA_ARCHS_tune-arm1136jfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6} arm1136jfs-vfp"
Brad Bishop79641f22019-09-10 07:20:22 -040016PACKAGE_EXTRA_ARCHS_tune-arm1136jfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} arm1136jfshf-vfp"