Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 1 | # |
| 2 | # Defaults for ARMv7-r |
| 3 | # |
| 4 | DEFAULTTUNE ?= "armv7r" |
| 5 | |
| 6 | TUNEVALID[armv7r] = "Enable instructions for ARMv7-r" |
| 7 | TUNE_CCARGS_MARCH = "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', ' -march=armv7-r', '', d)}" |
| 8 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', 'armv7r:', '', d)}" |
| 9 | |
| 10 | TUNECONFLICTS[armv7r] = "armv4 armv5 armv6 armv7a" |
| 11 | |
| 12 | require conf/machine/include/arm/arch-armv6.inc |
| 13 | require conf/machine/include/arm/feature-arm-idiv.inc |
| 14 | require conf/machine/include/arm/feature-arm-neon.inc |
| 15 | |
| 16 | AVAILTUNES += "armv7r armv7r-vfpv3d16" |
| 17 | ARMPKGARCH:tune-armv7r = "armv7r" |
| 18 | ARMPKGARCH:tune-armv7r-vfpv3d16 = "armv7r" |
| 19 | TUNE_FEATURES:tune-armv7r = "armv7r" |
| 20 | TUNE_FEATURES:tune-armv7r-vfpv3d16 = "${TUNE_FEATURES:tune-armv7r} vfpv3d16" |
| 21 | PACKAGE_EXTRA_ARCHS:tune-armv7r = "armv7r" |
| 22 | PACKAGE_EXTRA_ARCHS:tune-armv7r-vfpv3d16 = "${PACKAGE_EXTRA_ARCHS:tune-armv7r} tune-armv7r-fpv3d16" |