summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-standalone/conf')
-rw-r--r--meta-xilinx-standalone/conf/distro/xilinx-standalone.conf6
-rw-r--r--meta-xilinx-standalone/conf/distro/xilinx-standalone.inc16
-rw-r--r--meta-xilinx-standalone/conf/layer.conf6
3 files changed, 19 insertions, 9 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf
index dfc8fa08..8e1d6edf 100644
--- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf
+++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf
@@ -2,12 +2,6 @@ require conf/distro/xilinx-standalone.inc
2 2
3DISTRO_NAME:append = " (lto)" 3DISTRO_NAME:append = " (lto)"
4 4
5# By default we want to optimize for size.
6FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
7
8# Workaround for microblaze -Os bug
9FULL_OPTIMIZATION:microblaze = "-O2 -pipe ${DEBUG_FLAGS}"
10
11# We also need to use Link Time Optimization for many items, make this the 5# We also need to use Link Time Optimization for many items, make this the
12# default. 6# default.
13ESW_CFLAGS += " -Os -flto -ffat-lto-objects" 7ESW_CFLAGS += " -Os -flto -ffat-lto-objects"
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
index 4d591707..17b9430d 100644
--- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
+++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.inc
@@ -49,3 +49,19 @@ BB_SIGNATURE_HANDLER ?= "OEEquivHash"
49BB_HASHSERVE ??= "auto" 49BB_HASHSERVE ??= "auto"
50 50
51MACHINE_FEATURES_BACKFILL_CONSIDERED += "rtc qemu-usermode" 51MACHINE_FEATURES_BACKFILL_CONSIDERED += "rtc qemu-usermode"
52
53# Prevent warnings about 'buildpaths'
54# After investigation it appears a debuginfo directory path to the build
55# directory is being inserted into the objects. This path is not actually
56# being referred to by any components. Why this is happening is unknown,
57# so we avoid the warning as we know this is not an actual issue.
58WARN_QA:remove = "buildpaths"
59
60# By default PetaLinux uses the own-mirror class to access cached version of
61# the software. While this distribution configuration is not PetaLinux, nor
62# should it require PetaLinux to operating properly, including the same mirror
63# configuration will unify the Linux and non-Linux (baremetal) configurations.
64# Do this via include so if meta-petalinux is not part of the build this will
65# not error. This also allows the user to choose to handle the download
66# mirroring in their own way for non-PetaLinux like configs.
67include conf/distro/include/petalinux-mirrors.conf
diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf
index 8087d5a6..17289851 100644
--- a/meta-xilinx-standalone/conf/layer.conf
+++ b/meta-xilinx-standalone/conf/layer.conf
@@ -17,9 +17,6 @@ LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze"
17 17
18LAYERSERIES_COMPAT_xilinx-standalone = "scarthgap" 18LAYERSERIES_COMPAT_xilinx-standalone = "scarthgap"
19 19
20# Set this to enable this layer
21#XILINX_WITH_ESW = "generic"
22
23# Sanity check for meta-xilinx-standalone layer. 20# Sanity check for meta-xilinx-standalone layer.
24# Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check. 21# Setting SKIP_META_XILINX_STANDALONE_SANITY_CHECK to "1" would skip the bbappend files check.
25INHERIT += "sanity-meta-xilinx-standalone" 22INHERIT += "sanity-meta-xilinx-standalone"
@@ -31,3 +28,6 @@ INHERIT += "sanity-meta-xilinx-standalone"
31META_XILINX_STANDALONE_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-xilinx-standalone-default-versions.inc" 28META_XILINX_STANDALONE_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-xilinx-standalone-default-versions.inc"
32 29
33USER_CLASSES:append = " meta-xilinx-standalone-cfg" 30USER_CLASSES:append = " meta-xilinx-standalone-cfg"
31
32# Allow other layers to find the root of this layer if necessary
33LAYERBASE_xilinx-standalone = "${LAYERDIR}"