Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | # |
| 2 | # The i686 CPU family was introduced with the Intel Pentium Pro in 1995. |
| 3 | # It has as required feature flags: fpu tsc cx8 cmov. |
| 4 | # |
| 5 | # It is the minimum CPU required by the Debian i386 port. |
| 6 | # https://lists.debian.org/debian-devel-announce/2016/05/msg00001.html |
| 7 | # |
| 8 | # |
| 9 | |
| 10 | DEFAULTTUNE ?= "i686" |
| 11 | |
| 12 | # Set x86 target arch to i686, so that glibc enables SSE optimised memcpy, etc. |
| 13 | X86ARCH32 ?= "i686" |
| 14 | |
| 15 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 16 | require conf/machine/include/x86/tune-i586.inc |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | |
| 18 | # Extra tune features |
| 19 | TUNEVALID[i686] = "Enable i686 specific processor optimizations" |
| 20 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'i686', ' -march=i686', '', d)}" |
| 21 | |
| 22 | # Extra tune selections |
| 23 | AVAILTUNES += "i686" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | TUNE_FEATURES:tune-i686 = "${TUNE_FEATURES:tune-x86} i686" |
| 25 | BASE_LIB:tune-i686 = "lib" |
| 26 | TUNE_PKGARCH:tune-i686 = "i686" |
| 27 | PACKAGE_EXTRA_ARCHS:tune-i686 = "${PACKAGE_EXTRA_ARCHS:tune-i586} i686" |