diff options
Diffstat (limited to 'meta-xilinx-standalone/conf')
-rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone-nolto.conf | 3 | ||||
-rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.inc | 16 |
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 @@ | |||
1 | require conf/distro/xilinx-standalone.inc | 1 | require conf/distro/xilinx-standalone.inc |
2 | |||
3 | # Make sure any users get the xilinx-standalone distro override | ||
4 | DISTROOVERRIDES =. "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" | |||
2 | DISTRO_VERSION = "1.0" | 2 | DISTRO_VERSION = "1.0" |
3 | TARGET_VENDOR = "-xilinx" | 3 | TARGET_VENDOR = "-xilinx" |
4 | 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" | 5 | TCLIBC = "newlib" |
9 | TCLIBCAPPEND ="" | 6 | TCLIBCAPPEND ="" |
10 | 7 | ||
@@ -12,12 +9,10 @@ TCLIBCAPPEND ="" | |||
12 | SDK_VERSION = "xilinx-standalone" | 9 | SDK_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 |
15 | LIBC_DEPENDENCIES:append = " newlib-staticdev libgloss-staticdev" | 12 | LIBC_DEPENDENCIES:append:xilinx-standalone = " newlib-staticdev libgloss-staticdev" |
16 | 13 | ||
17 | ESW_CFLAGS ?= "" | 14 | ESW_CFLAGS ?= "" |
18 | 15 | ||
19 | INHERIT += "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 |
22 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" | 17 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -DARMR5', '', d)}" |
23 | 18 | ||
@@ -29,20 +24,11 @@ COMPATOS:class-target = ".*-linux${LIBCEXTENSION}${ABIEXTENSION}" | |||
29 | COMPATIBLE_HOST ?= "${COMPATOS}" | 24 | COMPATIBLE_HOST ?= "${COMPATOS}" |
30 | 25 | ||
31 | # Clear defaults | 26 | # Clear defaults |
32 | DISTRO_FEATURES_BACKFILL:xilinx-standalone = "" | ||
33 | VIRTUAL-RUNTIME_init_manager:xilinx-standalone = "" | ||
34 | |||
35 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" | 27 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" |
36 | 28 | ||
37 | PREFERRED_VERSION_libmetal-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" | 29 | PREFERRED_VERSION_libmetal-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" |
38 | PREFERRED_VERSION_open-amp-xlnx = "${@'standalone' if 'xilinx-standalone-exp' in d.getVar('BBFILE_COLLECTIONS').split() else ''}" | 30 | PREFERRED_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 | ||
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 | 32 | # Workaround for pulling in nativesdk-mingw-w64-winpthreads |
47 | TOOLCHAIN_HOST_TASK:append:sdkmingw32 = " nativesdk-mingw-w64-winpthreads" | 33 | TOOLCHAIN_HOST_TASK:append:sdkmingw32 = " nativesdk-mingw-w64-winpthreads" |
48 | 34 | ||