blob: 5c8ae67a16b1625f7fcf008eaf771c68eb0d8c0a [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001DISTRO_NAME = "Xilinx Standalone Distro"
2DISTRO_VERSION = "1.0"
3TARGET_VENDOR = "-xilinx"
4
5# Make sure any users get the xilinx-standalone distro override
6DISTROOVERRIDES_prepend = "${@'xilinx-standalone:' if d.getVar('DISTRO') != "xilinx-standalone" else ''}"
7
8TCLIBC = "newlib"
9TCLIBCAPPEND =""
10
11# Change SDK name
12SDK_VERSION = "xilinx-standalone"
13
14require conf/distro/include/yocto-uninative.inc
15INHERIT += "uninative"
16
17# Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian
18LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev"
19
20ESW_CFLAGS ?= ""
21
22INHERIT += "buildhistory"
23
24# Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw
25TUNE_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
29COMPATOS = ""
30# Set the regex for target recipes only, follow TARGET_OS default
31COMPATOS_class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}"
32COMPATIBLE_HOST ?= "${COMPATOS}"
33
34# Clear defaults
35DISTRO_FEATURES_BACKFILL_xilinx-standalone = ""
36VIRTUAL-RUNTIME_init_manager_xilinx-standalone = ""
37
38PREFERRED_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
41LIBC_DEPENDENCIES_append = " newlib-staticdev libgloss-staticdev"
42
43# No cached configsite files
44TOOLCHAIN_NEED_CONFIGSITE_CACHE = ""
45
46# Workaround for pulling in nativesdk-mingw-w64-winpthreads
47TOOLCHAIN_HOST_TASK_append_sdkmingw32 = " nativesdk-mingw-w64-winpthreads"