blob: 2bb8c7c154de4b15d502e5476aaeb0ae4ab18a16 [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)}"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05007MACHINEOVERRIDES =. "${@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
Andrew Geissler82c905d2020-04-13 13:39:40 -050013TUNE_FEATURES_tune-arm1136jfs = "arm vfp 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"