public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] sdk: always depend on crossbuild-essential for riscv64
@ 2022-06-17  9:28 Anton Mikanovich
  2022-06-17 13:43 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Mikanovich @ 2022-06-17  9:28 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

If we add crossbuild-essential-riscv64 package to ROOTFS_PACKAGES
unconditionally we should also depend on it even if ISAR_CROSS_COMPILE
is set to "0". SDK creation will fail otherwise.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes/sdk.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index 38671bb..1fc7b14 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -58,7 +58,7 @@ IMAGE_FSTYPES_class-sdk = "${SDK_FORMATS}"
 
 # bitbake dependencies
 SDKDEPENDS += "sdk-files ${SDK_INSTALL}"
-SDKDEPENDS_append_riscv64 = "${@' crossbuild-essential-riscv64' if d.getVar('ISAR_CROSS_COMPILE', True) == '1' and d.getVar('PN') != 'crossbuild-essential-riscv64' else ''}"
+SDKDEPENDS_append_riscv64 = "crossbuild-essential-riscv64"
 DEPENDS_class-sdk = "${SDKDEPENDS}"
 
 SDKROOTFSDEPENDS = ""
-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-21 12:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17  9:28 [PATCH] sdk: always depend on crossbuild-essential for riscv64 Anton Mikanovich
2022-06-17 13:43 ` Jan Kiszka
2022-06-17 16:21   ` Anton Mikanovich
2022-06-21 12:53   ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox