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