blob: ffee8cea8007a3b9198de188e32f52e3c7743a28 [file] [log] [blame]
Patrick Williams0ca19cc2021-08-16 14:03:13 -05001#
2# Defaults for ARMv8-m.base
3#
4DEFAULTTUNE ?= "armv8m-base"
5
6TUNEVALID[armv8m-base] = "Enable instructions for ARMv8-m.base"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05007TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-base', ' -march=armv8-m.base', '', d)}"
Patrick Williams0ca19cc2021-08-16 14:03:13 -05008MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-base', 'armv8m-base:', '', d)}"
9
10TUNECONFLICTS[armv8m-base] = "armv4 armv5 armv6 armv7a"
11
12require conf/machine/include/arm/arch-armv7m.inc
13
14AVAILTUNES += "armv8m-base"
15ARMPKGARCH:tune-armv8m-base = "armv8m-base"
16TUNE_FEATURES:tune-armv8m-base = "armv8m-base"
17PACKAGE_EXTRA_ARCHS:tune-armv8m-base = "armv8m-base"