blob: b6fcc59cc56fd6f07b5f5aef30033d5e3668f8f8 [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001DEFAULTTUNE ?= "armv6"
2
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations"
6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1176jzfs", "-mtune=arm1176jzf-s", "", d)}"
7TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-mfpu=vfp", "", d)}"
8
9AVAILTUNES += "arm1176jzfs arm1176jzfshf"
10ARMPKGARCH_tune-arm1176jzfs = "arm1176jzfs"
11ARMPKGARCH_tune-arm1176jzfshf = "arm1176jzfs"
12TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6} arm1176jzfs"
13TUNE_FEATURES_tune-arm1176jzfshf = "${TUNE_FEATURES_tune-arm1176jzfs} callconvention-hard"
14PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6}"
15PACKAGE_EXTRA_ARCHS_tune-arm1176jzfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} arm1176jzfshf-vfp"