blob: ce5f08ea7f6b7ae2fcdca98539324e2aa51ef10a [file] [log] [blame]
Andrew Geisslerbd39bf62021-03-31 13:35:44 -05001DEFAULTTUNE ?= "arm1176jzfshf"
Patrick Williams8b8bc412016-08-17 15:02:23 -05002
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations"
Andrew Geisslerbd39bf62021-03-31 13:35:44 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', ' -mcpu=arm1176jzf-s', '', d)}"
7MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', 'armv6:', '', d)}"
Patrick Williams8b8bc412016-08-17 15:02:23 -05008
Andrew Geisslerbd39bf62021-03-31 13:35:44 -05009AVAILTUNES += "arm1176jzfs"
Patrick Williams213cb262021-08-07 19:21:33 -050010ARMPKGARCH:tune-arm1176jzfs = "arm1176jzfs"
11TUNE_FEATURES:tune-arm1176jzfs = "arm thumb vfp arm1176jzfs"
12PACKAGE_EXTRA_ARCHS:tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS:tune-armv6} arm1176jzfs"
Andrew Geisslerbd39bf62021-03-31 13:35:44 -050013
14AVAILTUNES += "arm1176jzfshf"
Patrick Williams213cb262021-08-07 19:21:33 -050015ARMPKGARCH:tune-arm1176jzfshf = "${ARMPKGARCH:tune-arm1176jzfs}"
16TUNE_FEATURES:tune-arm1176jzfshf = "${TUNE_FEATURES:tune-arm1176jzfs} callconvention-hard"
17PACKAGE_EXTRA_ARCHS:tune-arm1176jzfshf = "${PACKAGE_EXTRA_ARCHS:tune-armv6thf} arm1176jzfshf-vfp"