aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-12-14 12:37:16 -0800
committerMark Hatle <mark.hatle@xilinx.com>2020-12-14 12:39:50 -0800
commita9025136f57e4b435b2e3ae08a04a1450c27240b (patch)
tree863dd5154c1a23cc497d532c217cffe80a9c76ec
parentb3e37df5d909a977c14144cdc2e5b8691fbfd82b (diff)
downloadmeta-xilinx-a9025136f57e4b435b2e3ae08a04a1450c27240b.tar.gz
meta-xilinx-a9025136f57e4b435b2e3ae08a04a1450c27240b.tar.bz2
meta-xilinx-a9025136f57e4b435b2e3ae08a04a1450c27240b.zip
meta-toolchain: Ensure that a baremetal toolchain can finish building
We include base qemu, the toolchain, but nothing else. (Dummy package is required to meet basic dependencies.) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend b/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend
index 51b70035..ff7d2c72 100644
--- a/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend
+++ b/meta-xilinx-standalone/recipes-core/meta/meta-toolchain.bbappend
@@ -1,3 +1,12 @@
COMPATIBLE_HOST = "${HOST_SYS}"
+# We want a smaller SDK then normal, so don't use nativesdk-packagegroup-sdk-host
+# The following should work on both Linux and mingw32
+
+HOST_DEPENDS = " \
+ nativesdk-qemu \
+ nativesdk-sdk-provides-dummy \
+"
+
+TOOLCHAIN_HOST_TASK_xilinx-standalone = "${HOST_DEPENDS} packagegroup-cross-canadian-${MACHINE}"
TOOLCHAIN_TARGET_TASK_xilinx-standalone = "${@multilib_pkg_extend(d, 'packagegroup-newlib-standalone-sdk-target')}"