1#
2# Tune Settings for Neoverse-N2
3#
4DEFAULTTUNE ?= "neoversen2"
5
6TUNEVALID[neoversen2] = "Enable Neoverse-N2 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'neoversen2', ' -mcpu=neoverse-n2', '', d)}"
8
9require conf/machine/include/arm/arch-armv9a.inc
10
11# Little Endian base configs
12AVAILTUNES                                         += "neoversen2 neoversen2-crypto"
13ARMPKGARCH:tune-neoversen2                          = "neoversen2"
14ARMPKGARCH:tune-neoversen2-crypto                   = "neoversen2-crypto"
15TUNE_FEATURES:tune-neoversen2                       = "${TUNE_FEATURES:tune-armv9a} neoversen2"
16TUNE_FEATURES:tune-neoversen2-crypto                = "${TUNE_FEATURES:tune-neoversen2} crypto"
17PACKAGE_EXTRA_ARCHS:tune-neoversen2                 = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} neoversen2"
18PACKAGE_EXTRA_ARCHS:tune-neoversen2-crypto          = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto} neoversen2 neoversen2-crypto"
19BASE_LIB:tune-neoversen2                            = "lib64"
20BASE_LIB:tune-neoversen2-crypto                     = "lib64"
21