1DEFAULTTUNE ?= "armv6hf"
2
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1136jfs] = "Enable arm1136jfs specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', ' -mcpu=arm1136jf-s', '', d)}"
7MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1136jfs', 'armv6:', '', d)}"
8
9AVAILTUNES += "arm1136jfs arm1136jfshf"
10ARMPKGARCH:tune-arm1136jfs = "arm1136jfs"
11ARMPKGARCH:tune-arm1136jfshf = "arm1136jfs"
12# mcpu is used so don't use armv6 as we don't want march
13TUNE_FEATURES:tune-arm1136jfs = "arm vfp arm1136jfs"
14TUNE_FEATURES:tune-arm1136jfshf = "${TUNE_FEATURES:tune-arm1136jfs} callconvention-hard"
15PACKAGE_EXTRA_ARCHS:tune-arm1136jfs = "${PACKAGE_EXTRA_ARCHS:tune-armv6} arm1136jfs-vfp"
16PACKAGE_EXTRA_ARCHS:tune-arm1136jfshf = "${PACKAGE_EXTRA_ARCHS:tune-armv6hf} arm1136jfshf-vfp"
17