From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: isar-users@googlegroups.com
Subject: [PATCH] image tools ext. class defines ISAR_CROSS_COMPILE, if missing
Date: Wed, 4 Jan 2023 03:39:48 +0100 [thread overview]
Message-ID: <CAJGKYO76qD60FyRTJGxuAy0etn1gWaGUAghFnrcC5i-X_NV2dw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
image tools extension class defines ISAR_CROSS_COMPILE = 0, if missing
The variable ISAR_CROSS_COMPILE might not be initialised in the image
tools extention 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/image-tools-extension.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/image-tools-extension.bbclass
b/meta/classes/image-tools-extension.bbclass
index b571985..48a93c8 100644
--- a/meta/classes/image-tools-extension.bbclass
+++ b/meta/classes/image-tools-extension.bbclass
https://github.com/ilbers/isar/commit/641520428a75cc6c23b7fbe661292f12dd2f09b7
[-- Attachment #2: 0001-image-tools-ext.-class-defines-ISAR_CROSS_COMPILE-if.patch --]
[-- Type: text/x-patch, Size: 1181 bytes --]
From 641520428a75cc6c23b7fbe661292f12dd2f09b7 Mon Sep 17 00:00:00 2001
From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Date: Wed, 4 Jan 2023 03:31:38 +0100
Subject: [PATCH] image tools ext. class defines ISAR_CROSS_COMPILE, if missing
image tools extension class defines ISAR_CROSS_COMPILE = 0, if missing
The variable ISAR_CROSS_COMPILE might not be initialised in the image
tools extention 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/image-tools-extension.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/image-tools-extension.bbclass b/meta/classes/image-tools-extension.bbclass
index b571985..48a93c8 100644
--- a/meta/classes/image-tools-extension.bbclass
+++ b/meta/classes/image-tools-extension.bbclass
@@ -11,6 +11,8 @@ IMAGER_INSTALL ??= ""
IMAGER_BUILD_DEPS ??= ""
DEPENDS += "${IMAGER_BUILD_DEPS}"
+ISAR_CROSS_COMPILE ?= "0"
+
IMAGER_SCHROOT_SESSION_ID = "isar-imager-${SCHROOT_USER}-${PN}-${MACHINE}-${ISAR_BUILD_UUID}"
do_install_imager_deps[depends] = "${SCHROOT_DEP} isar-apt:do_cache_config"
--
2.34.1
next reply other threads:[~2023-01-04 2:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 2:39 Roberto A. Foglietta [this message]
2023-01-04 8:26 ` Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJGKYO76qD60FyRTJGxuAy0etn1gWaGUAghFnrcC5i-X_NV2dw@mail.gmail.com \
--to=roberto.foglietta@gmail.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox