Files
meta-zephyr/conf/machine/include/tune-cortexm3.inc
Naveen Saini de481c4b3b Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and fixed
some additional changes manually.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-05 17:07:51 +08:00

22 lines
816 B
HTML

DEFAULTTUNE ?= "cortexm3"
require conf/machine/include/arm/arch-armv7a.inc
TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mcpu=cortex-m3', '', d)}"
AVAILTUNES += "cortexm3"
TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}"
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}"
TUNE_PKGARCH:tune-cortexm3 = "cortexm3"
ARMPKGARCH:tune-cortexm3 = "armv7m"
PACKAGE_EXTRA_ARCHS:tune-cortexm3 ="cortexm3"
TUNE_FEATURES:tune-cortexm3 = "armv7m vfp cortexm3"
PACKAGE_EXTRA_ARCHS:tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS:tune-armv7at} armv7m-vfp"
TUNE_CCARGS_MFLOAT = "soft"