aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/conf/machine/include/tune-v1000.inc
blob: 90c92e450f1fd511dc3cf9235ec0b002516ee1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEFAULTTUNE ?= "dbfp5"

require conf/machine/include/x86/arch-x86.inc
require conf/machine/include/x86-base.inc
# AMD DB-FP5 64bit (v1000)
TUNEVALID[dbfp5] = "Enable AMD DB-FP5 (64 bit) specific processor optimizations"
TUNECONFLICTS[dbfp5] = "m32 mx32"
TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "dbfp5", "${X86ARCH64}", "" ,d)}"
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "dbfp5", " -march=znver1", "", d)}"

# Extra tune selections
AVAILTUNES += "dbfp5"
TUNE_FEATURES_tune-dbfp5 = "dbfp5"
BASE_LIB_tune-dbfp5 = "lib64"
TUNE_PKGARCH_tune-dbfp5 = "dbfp5"
PACKAGE_EXTRA_ARCHS_tune-dbfp5 = "${TUNE_PKGARCH_tune-dbfp5}"