Andrew Geissler | bd39bf6 | 2021-03-31 13:35:44 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "arm1176jzfshf" |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 2 | |
| 3 | require conf/machine/include/arm/arch-armv6.inc |
| 4 | |
| 5 | TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations" |
Andrew Geissler | bd39bf6 | 2021-03-31 13:35:44 -0500 | [diff] [blame] | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', ' -mcpu=arm1176jzf-s', '', d)}" |
| 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', 'armv6:', '', d)}" |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 8 | |
Andrew Geissler | bd39bf6 | 2021-03-31 13:35:44 -0500 | [diff] [blame] | 9 | AVAILTUNES += "arm1176jzfs" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 10 | ARMPKGARCH:tune-arm1176jzfs = "arm1176jzfs" |
| 11 | TUNE_FEATURES:tune-arm1176jzfs = "arm thumb vfp arm1176jzfs" |
| 12 | PACKAGE_EXTRA_ARCHS:tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS:tune-armv6} arm1176jzfs" |
Andrew Geissler | bd39bf6 | 2021-03-31 13:35:44 -0500 | [diff] [blame] | 13 | |
| 14 | AVAILTUNES += "arm1176jzfshf" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | ARMPKGARCH:tune-arm1176jzfshf = "${ARMPKGARCH:tune-arm1176jzfs}" |
| 16 | TUNE_FEATURES:tune-arm1176jzfshf = "${TUNE_FEATURES:tune-arm1176jzfs} callconvention-hard" |
| 17 | PACKAGE_EXTRA_ARCHS:tune-arm1176jzfshf = "${PACKAGE_EXTRA_ARCHS:tune-armv6thf} arm1176jzfshf-vfp" |