* [PATCH] sdkchroot: Fix dependency for RISC-V
@ 2020-11-18 17:24 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2020-11-18 17:24 UTC (permalink / raw)
To: isar-users
From: Jan Kiszka <jan.kiszka@siemens.com>
RISC-V needs our fake crossbuild-essential-riscv64 package, and that
needs to be added to the dependency list of the sdkchroot, like already
the case for dpkg-base.bbclass.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/recipes-devtools/sdkchroot/sdkchroot.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/sdkchroot/sdkchroot.bb b/meta/recipes-devtools/sdkchroot/sdkchroot.bb
index f629b183..d7a848e2 100644
--- a/meta/recipes-devtools/sdkchroot/sdkchroot.bb
+++ b/meta/recipes-devtools/sdkchroot/sdkchroot.bb
@@ -19,6 +19,8 @@ SDK_INSTALL ?= ""
DEPENDS += "${SDK_INSTALL}"
+DEPENDS_append_riscv64 = "${@' crossbuild-essential-riscv64' if d.getVar('ISAR_CROSS_COMPILE', True) == '1' and d.getVar('PN') != 'crossbuild-essential-riscv64' else ''}"
+
TOOLCHAIN = "crossbuild-essential-${DISTRO_ARCH}"
TOOLCHAIN_${HOST_ARCH} = "build-essential"
TOOLCHAIN_i386 = "build-essential"
--
2.26.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-18 17:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 17:24 [PATCH] sdkchroot: Fix dependency for RISC-V Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox