blob: e03a8b86a0985bb23f695afc457ab482f87b775f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "armv4t"
2
3require conf/machine/include/arm/arch-armv4.inc
4
5TUNEVALID[arm9tdmi] = "Enable arm9tdmi specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm9tdmi', ' -mcpu=arm9tdmi', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -04007MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm9tdmi', 'armv4:', '' ,d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9AVAILTUNES += "arm9tdmi"
10ARMPKGARCH_tune-arm9tdmi = "arm9tdmi"
Brad Bishop19323692019-04-05 15:28:33 -040011# mcpu is used so don't use armv4t as we don't want march
12TUNE_FEATURES_tune-arm9tdmi = "arm thumb arm9tdmi"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013PACKAGE_EXTRA_ARCHS_tune-arm9tdmi = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} arm9tdmit"