Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 1 | require conf/multilib.conf |
| 2 | require conf/machine/include/tune-cortexa72-cortexa53.inc |
| 3 | require conf/machine/include/baremetal-tc.conf |
| 4 | |
| 5 | # Define ilp32 variant (not in tune files) |
| 6 | TUNEVALID[ilp32] = "ilp32 ABI" |
| 7 | |
| 8 | TUNE_CCARGS .= '${@bb.utils.contains("TUNE_FEATURES", "ilp32", " -mabi=ilp32", "", d)}' |
| 9 | |
| 10 | # ILP request an alternative machine dictionary |
| 11 | INHERIT += "xlnx-standalone" |
| 12 | PACKAGEQA_EXTRA_MACHDEFFUNCS .= '${@bb.utils.contains("TUNE_FEATURES", "ilp32", " xlnx_ilp32_dict", "", d)}' |
| 13 | |
| 14 | # Define all of the multilibs supported by this configuration |
| 15 | MULTILIB_GLOBAL_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" |
| 16 | MULTILIBS = "multilib:libilp32" |
| 17 | |
| 18 | # Base configuration |
| 19 | # CFLAGS: |
| 20 | DEFAULTTUNE = "cortexa72-cortexa53" |
| 21 | |
| 22 | # CFLAGS: -mabi=ilp32 |
| 23 | DEFAULTTUNE_virtclass-multilib-libilp32 = "cortexa72-cortexa53-ilp32" |
| 24 | |
| 25 | AVAILTUNES += "cortexa72-cortexa53-ilp32" |
Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame] | 26 | ARMPKGARCH_tune-cortexa72-cortexa53-ilp32 = "${ARMPKGARCH_tune-cortexa72-cortexa53}-ilp32" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 27 | TUNE_FEATURES_tune-cortexa72-cortexa53-ilp32 = "${TUNE_FEATURES_tune-cortexa72-cortexa53} ilp32" |
| 28 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-ilp32 = "${PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53} cortexa72-cortexa53-ilp32" |
| 29 | BASE_LIB_tune-cortexa72-cortexa53-ilp32 = "lib/ilp32" |