1#
2# Defaults for ARMv7-m
3#
4DEFAULTTUNE ?= "armv7m"
5
6TUNEVALID[armv7m] = "Enable instructions for ARMv7-m"
7TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}"
8MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '', d)}"
9
10TUNECONFLICTS[armv7m] = "armv4 armv5 armv6 armv7a"
11
12require conf/machine/include/arm/arch-armv6m.inc
13
14AVAILTUNES                            += "armv7m"
15ARMPKGARCH:tune-armv7m                 = "armv7m"
16TUNE_FEATURES:tune-armv7m              = "armv7m"
17PACKAGE_EXTRA_ARCHS:tune-armv7m        = "armv7m"
18