aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2018-07-17 17:49:17 +0500
committerAwais Belal <awais_belal@mentor.com>2018-07-18 14:40:33 +0500
commitd247d85720ddf2dcd8f9ffd3deb6657128117804 (patch)
tree9ef182259d3c44e5251e36f808939285f2943302 /meta-amdfalconx86
parent54fef0adbe9f43120f41756d80c4c72cec292492 (diff)
downloadmeta-amd-d247d85720ddf2dcd8f9ffd3deb6657128117804.tar.gz
meta-amd-d247d85720ddf2dcd8f9ffd3deb6657128117804.tar.bz2
meta-amd-d247d85720ddf2dcd8f9ffd3deb6657128117804.zip
tune-x.inc: use the m64 TUNE_FEATURE
All the currently supported BSPs are 64bit so use the appropriate m64 TUNE_FEATURE in order to get the build environment evaluated properly. Otherwise the basic -m64 switch which is required for proper linker output specification and other such things do not end up in the correct form and the build fails in case a toolchain that supports 32 and 64bit builds is used. Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/conf/machine/include/tune-amdfalconx86.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-amdfalconx86/conf/machine/include/tune-amdfalconx86.inc b/meta-amdfalconx86/conf/machine/include/tune-amdfalconx86.inc
index b78f0f7c..dc3911f5 100644
--- a/meta-amdfalconx86/conf/machine/include/tune-amdfalconx86.inc
+++ b/meta-amdfalconx86/conf/machine/include/tune-amdfalconx86.inc
@@ -3,16 +3,14 @@ DEFAULTTUNE ?= "dbfp4"
require conf/machine/include/x86/arch-x86.inc
require conf/machine/include/x86-base.inc
-
# AMD DB-FP4 64bit (MerlinFalcon)
TUNEVALID[dbfp4] = "Enable AMD DB-FP4 (64 bit) specific processor optimizations"
TUNECONFLICTS[dbfp4] = "m32 mx32"
-TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "dbfp4", "${X86ARCH64}", "" ,d)}"
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "dbfp4", " -march=bdver4", "", d)}"
# Extra tune selections
AVAILTUNES += "dbfp4"
-TUNE_FEATURES_tune-dbfp4 = "dbfp4"
+TUNE_FEATURES_tune-dbfp4 = "m64 dbfp4"
BASE_LIB_tune-dbfp4 = "lib64"
TUNE_PKGARCH_tune-dbfp4 = "dbfp4"
PACKAGE_EXTRA_ARCHS_tune-dbfp4 = "${TUNE_PKGARCH_tune-dbfp4}"