Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 1 | DISTRO_NAME = "Xilinx Standalone Distro" |
| 2 | DISTRO_VERSION = "1.0" |
| 3 | TARGET_VENDOR = "-xilinx" |
| 4 | |
| 5 | # Make sure any users get the xilinx-standalone distro override |
| 6 | DISTROOVERRIDES_prepend = "${@'xilinx-standalone:' if d.getVar('DISTRO') != "xilinx-standalone" else ''}" |
| 7 | |
| 8 | TCLIBC = "newlib" |
| 9 | TCLIBCAPPEND ="" |
| 10 | |
| 11 | # Change SDK name |
| 12 | SDK_VERSION = "xilinx-standalone" |
| 13 | |
| 14 | require conf/distro/include/yocto-uninative.inc |
| 15 | INHERIT += "uninative" |
| 16 | |
| 17 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian |
| 18 | LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev" |
| 19 | |
| 20 | ESW_CFLAGS ?= "" |
| 21 | |
| 22 | INHERIT += "buildhistory" |
| 23 | |
| 24 | # Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw |
| 25 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" |
| 26 | |
| 27 | # Make sure all regular recipes are excluded from compatibility |
| 28 | # Avoid using this for native, nativesdk or cross recipes |
| 29 | COMPATOS = "" |
| 30 | # Set the regex for target recipes only, follow TARGET_OS default |
| 31 | COMPATOS_class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}" |
| 32 | COMPATIBLE_HOST ?= "${COMPATOS}" |
| 33 | |
| 34 | # Clear defaults |
| 35 | DISTRO_FEATURES_BACKFILL_xilinx-standalone = "" |
| 36 | VIRTUAL-RUNTIME_init_manager_xilinx-standalone = "" |
| 37 | |
| 38 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" |
| 39 | |
| 40 | # Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian |
| 41 | LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev" |
| 42 | |
| 43 | # No cached configsite files |
| 44 | TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" |
| 45 | |
| 46 | # Workaround for pulling in nativesdk-mingw-w64-winpthreads |
| 47 | TOOLCHAIN_HOST_TASK_append_sdkmingw32 = " nativesdk-mingw-w64-winpthreads" |