The generic x86 build supports i586 by default, so this specific tune file technically doesn't add any specific ARCHes to PACKAGE_EXTRA_ARCHS. For consistency, append the current tune to PACKAGE_EXTRA_ARCHS. Since we do not have specific tune files for i386 and i486, just drop them. These could be added to tune-x86 version if there is a need to maintain them, but they really do not belong here. (From OE-Core rev: 1ff914118bdfb19d7f3d794a92ba3735c06ab97b) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Nitin Kamble <nitin.a.kamble@intel.com> Cc: Mark Hatle <mark.hatle@windriver.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 lines
479 B
PHP
15 lines
479 B
PHP
DEFAULTTUNE ?= "i586"
|
|
|
|
require conf/machine/include/x86/arch-x86.inc
|
|
|
|
# Extra tune features
|
|
TUNEVALID[i586] = "Enable i586 specific processor optimizations"
|
|
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "i586", " -march=i586", "", d)}"
|
|
|
|
# Extra tune selections
|
|
AVAILTUNES += "i586"
|
|
TUNE_FEATURES_tune-i586 = "${TUNE_FEATURES_tune-x86} i586"
|
|
BASE_LIB_tune-i586 = "lib"
|
|
TUNE_PKGARCH_tune-i586 = "i586"
|
|
PACKAGE_EXTRA_ARCHS_tune-i586 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i586"
|