blob: be20eb363b153e8228ee6a267341cf0c3419baf2 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "ep9312"
2
3require conf/machine/include/arm/arch-armv4.inc
4
Brad Bishop79641f22019-09-10 07:20:22 -04005TUNEVALID[ep9312] = "Enable Cirrus Logic EP9312 specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', ' -march=ep9312 -mcpu=ep9312', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -04007MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', 'armv4:', '' ,d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9AVAILTUNES += "ep9312"
10ARMPKGARCH_tune-ep9312 = "ep9312"
11# this tune does not include TUNE_FEATURES_tune-armv4t, so there is no armv4 TUNE_FEATURES => no 't' in ARMPKGSFX_THUMB
12TUNE_FEATURES_tune-ep9312 = "thumb ep9312"
13PACKAGE_EXTRA_ARCHS_tune-ep9312 = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} ep9312"