diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-03-23 20:01:57 -0700 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2021-03-24 16:32:03 +0000 |
| commit | d1f191ed3018e0b130311e443f014e30d2f5ed97 (patch) | |
| tree | cf8f947efab07c3e51298b4ca0e6e4eac74a3301 | |
| parent | 3145390785792627822159b02f4625a1aaf01a6c (diff) | |
| download | meta-raspberrypi-d1f191ed3018e0b130311e443f014e30d2f5ed97.tar.gz | |
tune-arm1176jzf-s.inc: Rework to match oe-core
OE-core now uses -mcpu instead of mtune
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/machine/include/tune-arm1176jzf-s.inc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/conf/machine/include/tune-arm1176jzf-s.inc b/conf/machine/include/tune-arm1176jzf-s.inc index b6fcc59..b9e0377 100644 --- a/conf/machine/include/tune-arm1176jzf-s.inc +++ b/conf/machine/include/tune-arm1176jzf-s.inc | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | DEFAULTTUNE ?= "armv6" | 1 | DEFAULTTUNE ?= "arm1176jzfshf" |
| 2 | 2 | ||
| 3 | require conf/machine/include/arm/arch-armv6.inc | 3 | require conf/machine/include/arm/arch-armv6.inc |
| 4 | 4 | ||
| 5 | TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations" | 5 | TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations" |
| 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1176jzfs", "-mtune=arm1176jzf-s", "", d)}" | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', ' -mcpu=arm1176jzf-s', '', d)}" |
| 7 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "vfp", "-mfpu=vfp", "", d)}" | 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm1176jzfs', 'armv6:', '', d)}" |
| 8 | 8 | ||
| 9 | AVAILTUNES += "arm1176jzfs arm1176jzfshf" | 9 | AVAILTUNES += "arm1176jzfs" |
| 10 | ARMPKGARCH_tune-arm1176jzfs = "arm1176jzfs" | 10 | ARMPKGARCH_tune-arm1176jzfs = "arm1176jzfs" |
| 11 | ARMPKGARCH_tune-arm1176jzfshf = "arm1176jzfs" | 11 | TUNE_FEATURES_tune-arm1176jzfs = "arm thumb vfp arm1176jzfs" |
| 12 | TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6} arm1176jzfs" | 12 | PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6} arm1176jzfs" |
| 13 | |||
| 14 | AVAILTUNES += "arm1176jzfshf" | ||
| 15 | ARMPKGARCH_tune-arm1176jzfshf = "${ARMPKGARCH_tune-arm1176jzfs}" | ||
| 13 | TUNE_FEATURES_tune-arm1176jzfshf = "${TUNE_FEATURES_tune-arm1176jzfs} callconvention-hard" | 16 | TUNE_FEATURES_tune-arm1176jzfshf = "${TUNE_FEATURES_tune-arm1176jzfs} callconvention-hard" |
| 14 | PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6}" | 17 | PACKAGE_EXTRA_ARCHS_tune-arm1176jzfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6thf} arm1176jzfshf-vfp" |
| 15 | PACKAGE_EXTRA_ARCHS_tune-arm1176jzfshf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} arm1176jzfshf-vfp" | ||
