public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup
@ 2020-10-16  6:42 Jan Kiszka
  2020-10-16  6:42 ` [PATCH 1/2] meta-isar: opensbi-sifive-fu540: Update to 0.8 Jan Kiszka
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jan Kiszka @ 2020-10-16  6:42 UTC (permalink / raw)
  To: isar-users

Unfortunately only build-tested as I do not have access to the board
right now.

Jan

Jan Kiszka (2):
  meta-isar: opensbi-sifive-fu540: Update to 0.8
  meta-isar: opensbi-sifive-fu540: Use DEBIAN_BUILD_DEPENDS

 ...nsbi-sifive-fu540_0.5.bb => opensbi-sifive-fu540_0.8.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-isar/recipes-bsp/opensbi/{opensbi-sifive-fu540_0.5.bb => opensbi-sifive-fu540_0.8.bb} (76%)

-- 
2.26.2


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

* [PATCH 1/2] meta-isar: opensbi-sifive-fu540: Update to 0.8
  2020-10-16  6:42 [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Jan Kiszka
@ 2020-10-16  6:42 ` Jan Kiszka
  2020-10-16  6:42 ` [PATCH 2/2] meta-isar: opensbi-sifive-fu540: Use DEBIAN_BUILD_DEPENDS Jan Kiszka
  2020-11-26 15:56 ` [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2020-10-16  6:42 UTC (permalink / raw)
  To: isar-users

From: Jan Kiszka <jan.kiszka@siemens.com>

This fixes a build breakage with more recent sid.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ...{opensbi-sifive-fu540_0.5.bb => opensbi-sifive-fu540_0.8.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-isar/recipes-bsp/opensbi/{opensbi-sifive-fu540_0.5.bb => opensbi-sifive-fu540_0.8.bb} (87%)

diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.5.bb b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
similarity index 87%
rename from meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.5.bb
rename to meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
index b9d0c3e1..6ab83483 100644
--- a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.5.bb
+++ b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
@@ -8,7 +8,7 @@ inherit dpkg
 SRC_URI = " \
     https://github.com/riscv/opensbi/archive/v${PV}.tar.gz;downloadfilename=opensbi-${PV}.tar.gz \
     file://sifive-fu540-rules"
-SRC_URI[sha256sum] = "bc82f1e63663cafb7976b324d8a01263510cfd816063dc89e0ccffb9763fb1dd"
+SRC_URI[sha256sum] = "17e048ac765e92e15f7436b604452614cf88dc2bcbbaab18cdc024f3fdd4c575"
 
 S = "${WORKDIR}/opensbi-${PV}"
 
-- 
2.26.2


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

* [PATCH 2/2] meta-isar: opensbi-sifive-fu540: Use DEBIAN_BUILD_DEPENDS
  2020-10-16  6:42 [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Jan Kiszka
  2020-10-16  6:42 ` [PATCH 1/2] meta-isar: opensbi-sifive-fu540: Update to 0.8 Jan Kiszka
@ 2020-10-16  6:42 ` Jan Kiszka
  2020-11-26 15:56 ` [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2020-10-16  6:42 UTC (permalink / raw)
  To: isar-users

From: Jan Kiszka <jan.kiszka@siemens.com>

Cleanup the manual injection of the build dependency.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
index 6ab83483..eb2e2068 100644
--- a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
+++ b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_0.8.bb
@@ -12,12 +12,12 @@ SRC_URI[sha256sum] = "17e048ac765e92e15f7436b604452614cf88dc2bcbbaab18cdc024f3fd
 
 S = "${WORKDIR}/opensbi-${PV}"
 
+DEBIAN_BUILD_DEPENDS = "u-boot-sifive"
+
 do_prepare_build[cleandirs] += "${S}/debian"
 do_prepare_build() {
     cp ${WORKDIR}/sifive-fu540-rules ${WORKDIR}/rules
     deb_debianize
 
-    sed -i 's/\(Build-Depends:.*\)/\1, u-boot-sifive/' ${S}/debian/control
-
     echo "build/platform/sifive/fu540/firmware/fw_payload.bin /usr/lib/opensbi/sifive-fu540/" > ${S}/debian/install
 }
-- 
2.26.2


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

* Re: [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup
  2020-10-16  6:42 [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Jan Kiszka
  2020-10-16  6:42 ` [PATCH 1/2] meta-isar: opensbi-sifive-fu540: Update to 0.8 Jan Kiszka
  2020-10-16  6:42 ` [PATCH 2/2] meta-isar: opensbi-sifive-fu540: Use DEBIAN_BUILD_DEPENDS Jan Kiszka
@ 2020-11-26 15:56 ` Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2020-11-26 15:56 UTC (permalink / raw)
  To: isar-users

16.10.2020 09:42, Jan Kiszka wrote:
> Unfortunately only build-tested as I do not have access to the board
> right now.

Applied to next, thanks.

-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov


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

end of thread, other threads:[~2020-11-26 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16  6:42 [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Jan Kiszka
2020-10-16  6:42 ` [PATCH 1/2] meta-isar: opensbi-sifive-fu540: Update to 0.8 Jan Kiszka
2020-10-16  6:42 ` [PATCH 2/2] meta-isar: opensbi-sifive-fu540: Use DEBIAN_BUILD_DEPENDS Jan Kiszka
2020-11-26 15:56 ` [PATCH 0/2] sifive-fu540: opensbi build fix and cleanup Anton Mikanovich

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