Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv6hf" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | |
| 3 | TUNEVALID[armv6] = "Enable instructions for ARMv6" |
| 4 | TUNECONFLICTS[armv6] = "armv4 armv5" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv6', ' -march=armv6', '', d)}" |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv6', 'armv6:', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | |
| 8 | require conf/machine/include/arm/arch-armv5-dsp.inc |
| 9 | |
| 10 | # Little Endian |
| 11 | AVAILTUNES += "armv6-novfp armv6t-novfp armv6 armv6t armv6hf armv6thf" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 12 | ARMPKGARCH:tune-armv6-novfp ?= "armv6" |
| 13 | ARMPKGARCH:tune-armv6t-novfp ?= "armv6" |
| 14 | ARMPKGARCH:tune-armv6 ?= "armv6" |
| 15 | ARMPKGARCH:tune-armv6t ?= "armv6" |
| 16 | ARMPKGARCH:tune-armv6hf ?= "armv6" |
| 17 | ARMPKGARCH:tune-armv6thf ?= "armv6" |
| 18 | TUNE_FEATURES:tune-armv6-novfp = "arm armv6" |
| 19 | TUNE_FEATURES:tune-armv6t-novfp = "${TUNE_FEATURES:tune-armv6-novfp} thumb" |
| 20 | TUNE_FEATURES:tune-armv6 = "${TUNE_FEATURES:tune-armv6-novfp} vfp" |
| 21 | TUNE_FEATURES:tune-armv6t = "${TUNE_FEATURES:tune-armv6t-novfp} vfp" |
| 22 | TUNE_FEATURES:tune-armv6hf = "${TUNE_FEATURES:tune-armv6} callconvention-hard" |
| 23 | TUNE_FEATURES:tune-armv6thf = "${TUNE_FEATURES:tune-armv6t} callconvention-hard" |
| 24 | PACKAGE_EXTRA_ARCHS:tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS:tune-armv5e} armv6" |
| 25 | PACKAGE_EXTRA_ARCHS:tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS:tune-armv5te} armv6 armv6t" |
| 26 | PACKAGE_EXTRA_ARCHS:tune-armv6 = "${PACKAGE_EXTRA_ARCHS:tune-armv5e-vfp} armv6 armv6-vfp" |
| 27 | PACKAGE_EXTRA_ARCHS:tune-armv6t = "${PACKAGE_EXTRA_ARCHS:tune-armv5te-vfp} armv6 armv6t armv6-vfp armv6t-vfp" |
| 28 | PACKAGE_EXTRA_ARCHS:tune-armv6hf = "${PACKAGE_EXTRA_ARCHS:tune-armv5ehf-vfp} armv6hf-vfp" |
| 29 | PACKAGE_EXTRA_ARCHS:tune-armv6thf = "${PACKAGE_EXTRA_ARCHS:tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
| 31 | # Big Endian |
| 32 | AVAILTUNES += "armv6b-novfp armv6tb-novfp armv6b armv6tb armv6hfb armv6thfb" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 33 | ARMPKGARCH:tune-armv6b-novfp ?= "armv6" |
| 34 | ARMPKGARCH:tune-armv6tb-novfp ?= "armv6" |
| 35 | ARMPKGARCH:tune-armv6b ?= "armv6" |
| 36 | ARMPKGARCH:tune-armv6tb ?= "armv6" |
| 37 | ARMPKGARCH:tune-armv6hfb ?= "armv6" |
| 38 | ARMPKGARCH:tune-armv6thfb ?= "armv6" |
| 39 | TUNE_FEATURES:tune-armv6b-novfp = "${TUNE_FEATURES:tune-armv6-novfp} bigendian" |
| 40 | TUNE_FEATURES:tune-armv6tb-novfp = "${TUNE_FEATURES:tune-armv6t-novfp} bigendian" |
| 41 | TUNE_FEATURES:tune-armv6b = "${TUNE_FEATURES:tune-armv6} bigendian" |
| 42 | TUNE_FEATURES:tune-armv6tb = "${TUNE_FEATURES:tune-armv6t} bigendian" |
| 43 | TUNE_FEATURES:tune-armv6hfb = "${TUNE_FEATURES:tune-armv6hf} bigendian" |
| 44 | TUNE_FEATURES:tune-armv6thfb = "${TUNE_FEATURES:tune-armv6thf} bigendian" |
| 45 | PACKAGE_EXTRA_ARCHS:tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS:tune-armv5eb} armv6b" |
| 46 | PACKAGE_EXTRA_ARCHS:tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS:tune-armv5teb} armv6b armv6tb" |
| 47 | PACKAGE_EXTRA_ARCHS:tune-armv6b = "${PACKAGE_EXTRA_ARCHS:tune-armv5eb-vfp} armv6b armv6b-vfp" |
| 48 | PACKAGE_EXTRA_ARCHS:tune-armv6tb = "${PACKAGE_EXTRA_ARCHS:tune-armv5teb-vfp} armv6b armv6tb armv6b-vfp armv6tb-vfp" |
| 49 | PACKAGE_EXTRA_ARCHS:tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS:tune-armv5ehfb-vfp} armv6hfb-vfp" |
| 50 | PACKAGE_EXTRA_ARCHS:tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS:tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" |