(From OE-Core rev: 1ebcbc6d77171b81dfe6432ffad6cae3148dcf2e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
621 B
HTML
15 lines
621 B
HTML
DEFAULTTUNE ?= "cortexr4"
|
|
|
|
require conf/machine/include/arm/arch-armv7a.inc
|
|
|
|
TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexr4", " -mtune=cortex-r4", "", d)}"
|
|
|
|
TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7r", " -march=armv7-r", "", d)}"
|
|
|
|
AVAILTUNES += "cortexr4"
|
|
ARMPKGARCH_tune-cortexr4 = "armv7r"
|
|
TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4 arm thumb"
|
|
PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r-vfp"
|