summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/conf/distro
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-01-15 08:25:25 -0800
committerMark Hatle <mark.hatle@amd.com>2023-01-16 07:26:08 -0800
commitbc2d0f4da3b8890e175ad2672276ba3d50b6bed4 (patch)
treedc4a4079468a70fb49c8d98a2b13a87f515b3bc8 /meta-xilinx-standalone/conf/distro
parentb68438c9b61f94fd5a7d2081753e127a8ecc30f7 (diff)
downloadmeta-xilinx-bc2d0f4da3b8890e175ad2672276ba3d50b6bed4.tar.gz
xilinx-standalone.inc: Further sync with upstream disro settings
Many of the settings/workaround have been replaced by changes in the upstream OE-Core tclibc-newlib. Additionally adding the DISTROVERRIDES with an append was potentially changing -native recipes hashes. Move this only where needed to avoid this behavior. Also sync settings with meta-petalinux, such as the buildhistory. This is now moved to the local.conf file. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone/conf/distro')
-rw-r--r--meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf3
-rw-r--r--meta-xilinx-standalone/conf/distro/xilinx-standalone.inc16
2 files changed, 4 insertions, 15 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf
index 315f555c..ccfd0600 100644
--- a/meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf
+++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf
@@ -1 +1,4 @@
1require conf/distro/xilinx-standalone.inc 1require conf/distro/xilinx-standalone.inc
2
3# Make sure any users get the xilinx-standalone distro override
4DISTROOVERRIDES =. "xilinx-standalone:"
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
index ec490d26..4b51dd1b 100644
--- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
+++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
@@ -2,9 +2,6 @@ DISTRO_NAME = "Xilinx Standalone Distro"
2DISTRO_VERSION = "1.0" 2DISTRO_VERSION = "1.0"
3TARGET_VENDOR = "-xilinx" 3TARGET_VENDOR = "-xilinx"
4 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" 5TCLIBC = "newlib"
9TCLIBCAPPEND ="" 6TCLIBCAPPEND =""
10 7
@@ -12,12 +9,10 @@ TCLIBCAPPEND =""
12SDK_VERSION = "xilinx-standalone" 9SDK_VERSION = "xilinx-standalone"
13 10
14# Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian 11# Hold this until it gets merged in core, we need libc.a and libgloss.a for cross-canadian
15LIBC_DEPENDENCIES:append = " newlib-staticdev libgloss-staticdev" 12LIBC_DEPENDENCIES:append:xilinx-standalone = " newlib-staticdev libgloss-staticdev"
16 13
17ESW_CFLAGS ?= "" 14ESW_CFLAGS ?= ""
18 15
19INHERIT += "buildhistory"
20
21# Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw 16# Cortex R5 requires an additional cflag to be passed for compatibility with the embeddedsw
22TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" 17TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}"
23 18
@@ -29,20 +24,11 @@ COMPATOS:class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}"
29COMPATIBLE_HOST ?= "${COMPATOS}" 24COMPATIBLE_HOST ?= "${COMPATOS}"
30 25
31# Clear defaults 26# Clear defaults
32DISTRO_FEATURES_BACKFILL:xilinx-standalone = ""
33VIRTUAL-RUNTIME_init_manager:xilinx-standalone = ""
34
35PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" 27PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
36 28
37PREFERRED_VERSION_libmetal-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" 29PREFERRED_VERSION_libmetal-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}"
38PREFERRED_VERSION_open-amp-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" 30PREFERRED_VERSION_open-amp-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}"
39 31
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 32# Workaround for pulling in nativesdk-mingw-w64-winpthreads
47TOOLCHAIN_HOST_TASK:append:sdkmingw32 = " nativesdk-mingw-w64-winpthreads" 33TOOLCHAIN_HOST_TASK:append:sdkmingw32 = " nativesdk-mingw-w64-winpthreads"
48 34