Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 1 | # |
| 2 | # Defaults for ARMv8-m.base |
| 3 | # |
| 4 | DEFAULTTUNE ?= "armv8m-base" |
| 5 | |
| 6 | TUNEVALID[armv8m-base] = "Enable instructions for ARMv8-m.base" |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 7 | TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-base', ' -march=armv8-m.base', '', d)}" |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 8 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8m-base', 'armv8m-base:', '', d)}" |
| 9 | |
| 10 | TUNECONFLICTS[armv8m-base] = "armv4 armv5 armv6 armv7a" |
| 11 | |
| 12 | require conf/machine/include/arm/arch-armv7m.inc |
| 13 | |
| 14 | AVAILTUNES += "armv8m-base" |
| 15 | ARMPKGARCH:tune-armv8m-base = "armv8m-base" |
| 16 | TUNE_FEATURES:tune-armv8m-base = "armv8m-base" |
| 17 | PACKAGE_EXTRA_ARCHS:tune-armv8m-base = "armv8m-base" |