public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] dpkg class set default value for ISAR_CROSS_COMPILE, if missing
@ 2023-01-03 21:42 Roberto A. Foglietta
  2023-01-04  8:27 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Roberto A. Foglietta @ 2023-01-03 21:42 UTC (permalink / raw)
  To: isar-users

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

The variable ISAR_CROSS_COMPILE might not be initialised in the dpkg
class thus the project fails to build. This sets the default, if missing.

Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
---
 meta/classes/dpkg.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index bf60a5b..230bac9 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass

https://github.com/ilbers/isar/commit/06916be39eb00e9808674231afb0ead03a526bc1

[-- Attachment #2: 0001-dpkg-class-set-default-value-for-ISAR_CROSS_COMPILE-.patch --]
[-- Type: text/x-patch, Size: 863 bytes --]

From 06916be39eb00e9808674231afb0ead03a526bc1 Mon Sep 17 00:00:00 2001
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Date: Tue, 3 Jan 2023 22:28:05 +0100
Subject: [PATCH] dpkg class set default value for ISAR_CROSS_COMPILE, if
 missing

The variable ISAR_CROSS_COMPILE might not be initialised in the dpkg
class thus the project fail to build. This sets the default, if missing.

Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
---
 meta/classes/dpkg.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index bf60a5b..230bac9 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -3,6 +3,8 @@
 
 inherit dpkg-base
 
+ISAR_CROSS_COMPILE ?= "0"
+
 PACKAGE_ARCH ?= "${DISTRO_ARCH}"
 
 DPKG_PREBUILD_ENV_FILE="${WORKDIR}/dpkg_prebuild.env"
-- 
2.34.1


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

end of thread, other threads:[~2023-01-25 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 21:42 [PATCH] dpkg class set default value for ISAR_CROSS_COMPILE, if missing Roberto A. Foglietta
2023-01-04  8:27 ` Jan Kiszka
2023-01-04 10:31   ` Roberto A. Foglietta
2023-01-25 12:07   ` Uladzimir Bely

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