mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
tune-octeontx2.inc: Add tune for Marvell OCTEON TX2 core
The OCTEON TX2 core is custom designed by Marvell and is compliant with Arm V8.2 architecture. (From OE-Core rev: ad4f82742c6f32b35e2b965a32cccc96aad02d19) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5a6aaf745f
commit
df70a725d8
13
meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
Normal file
13
meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
DEFAULTTUNE ?= "octeontx2"
|
||||
|
||||
TUNEVALID[octeontx2] = "Enable Marvell octeontx2 specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeontx2', ' -mcpu=octeontx2', '', d)}"
|
||||
|
||||
require conf/machine/include/arm/arch-armv8-2a.inc
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "octeontx2"
|
||||
ARMPKGARCH_tune-octeontx2 = "octeontx2"
|
||||
TUNE_FEATURES_tune-octeontx2 = "${TUNE_FEATURES_tune-armv8-2a-crypto} octeontx2"
|
||||
PACKAGE_EXTRA_ARCHS_tune-octeontx2 = "${PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto} octeontx2"
|
||||
BASE_LIB_tune-octeontx2 = "lib64"
|
||||
Reference in New Issue
Block a user