Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Enrico Jörns" <ejo@pengutronix.de>
To: openembedded-core@lists.openembedded.org
Cc: yocto@pengutronix.de, "Ulrich Ölmann" <u.oelmann@pengutronix.de>
Subject: [PATCH] barebox.bbclass: use consistent make flags for menuconfig
Date: Thu, 27 Feb 2025 10:28:21 +0100	[thread overview]
Message-ID: <20250227092821.2766396-1-ejo@pengutronix.de> (raw)

This change is done similar to the change in the kernel.bbclass of
commit 8c616bc0 ("kernel: Use consistent make flags for menuconfig").

This was discovered since the new CONFIG_GCC_VERSION kconfig symbol
reflected the host GCC version instead of the target ones after running
do_menuconfig.

Reported-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
---
 meta/classes-recipe/barebox.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes-recipe/barebox.bbclass b/meta/classes-recipe/barebox.bbclass
index 200ba08326..baba0a2965 100644
--- a/meta/classes-recipe/barebox.bbclass
+++ b/meta/classes-recipe/barebox.bbclass
@@ -53,6 +53,7 @@ EXTRA_OEMAKE = " \
     PKG_CONFIG=pkg-config-native \
     CROSS_PKG_CONFIG=pkg-config \
 "
+KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}"
 
 BAREBOX_CONFIG[doc] = "The barebox kconfig defconfig file. Not used if a file called defconfig is added to the SRC_URI."
 BAREBOX_CONFIG ?= ""
-- 
2.39.5



             reply	other threads:[~2025-02-27  9:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27  9:28 Enrico Jörns [this message]
2025-02-27 11:17 ` [OE-core] [PATCH] barebox.bbclass: use consistent make flags for menuconfig Richard Purdie
2025-02-27 11:23   ` Enrico Jörns
2025-02-27 11:44     ` Richard Purdie
2025-02-27 11:47       ` Enrico Jörns

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=20250227092821.2766396-1-ejo@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=u.oelmann@pengutronix.de \
    --cc=yocto@pengutronix.de \
    /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