From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH v2 1/4] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely
Date: Wed, 19 Aug 2020 13:27:00 +0200 [thread overview]
Message-ID: <20200819112703.11988-1-rhi@pengutronix.de> (raw)
In-Reply-To: <20200807104425.30276-1-rhi@pengutronix.de>
Until now this worked without setting the variable because
ptxd_make_world_init tries to autodetect the config tool, but we should
make this explicit.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
v2: tab-align where tabs already exist
rules/barebox.make | 1 +
rules/kernel.make | 1 +
rules/templates/template-barebox-imx-habv4-make | 1 +
rules/templates/template-barebox-make | 1 +
rules/templates/template-kernel-make | 1 +
5 files changed, 5 insertions(+)
diff --git a/rules/barebox.make b/rules/barebox.make
index 90e193c8ea9a..94534db39ebe 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -40,6 +40,7 @@ BAREBOX_PATH := PATH=$(HOST_PATH)
BAREBOX_WRAPPER_BLACKLIST := \
$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
+BAREBOX_CONF_TOOL := kconfig
BAREBOX_CONF_OPT := \
-C $(BAREBOX_DIR) \
O=$(BAREBOX_BUILD_DIR) \
diff --git a/rules/kernel.make b/rules/kernel.make
index 593e03dc4a3e..73c72da57473 100644
--- a/rules/kernel.make
+++ b/rules/kernel.make
@@ -81,6 +81,7 @@ KERNEL_SHARED_OPT += \
HOSTCC="$(HOSTCC) -DGENERATOR_FILE"
endif
+KERNEL_CONF_TOOL := kconfig
KERNEL_CONF_OPT := \
$(KERNEL_SHARED_OPT)
diff --git a/rules/templates/template-barebox-imx-habv4-make b/rules/templates/template-barebox-imx-habv4-make
index a7d287822547..cfe4c2de36eb 100644
--- a/rules/templates/template-barebox-imx-habv4-make
+++ b/rules/templates/template-barebox-imx-habv4-make
@@ -37,6 +37,7 @@ BAREBOX_@PACKAGE@_PATH := PATH=$(HOST_PATH)
BAREBOX_@PACKAGE@_WRAPPER_BLACKLIST := \
$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
+BAREBOX_@PACKAGE@_CONF_TOOL := kconfig
BAREBOX_@PACKAGE@_CONF_OPT := \
-C $(BAREBOX_@PACKAGE@_DIR) \
O=$(BAREBOX_@PACKAGE@_BUILD_DIR) \
diff --git a/rules/templates/template-barebox-make b/rules/templates/template-barebox-make
index ae7e06038e23..6a9599240b64 100644
--- a/rules/templates/template-barebox-make
+++ b/rules/templates/template-barebox-make
@@ -37,6 +37,7 @@ BAREBOX_@PACKAGE@_PATH := PATH=$(HOST_PATH)
BAREBOX_@PACKAGE@_WRAPPER_BLACKLIST := \
$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
+BAREBOX_@PACKAGE@_CONF_TOOL := kconfig
BAREBOX_@PACKAGE@_CONF_OPT := \
-C $(BAREBOX_@PACKAGE@_DIR) \
O=$(BAREBOX_@PACKAGE@_BUILD_DIR) \
diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make
index 697c18145cec..c7448b2a8be4 100644
--- a/rules/templates/template-kernel-make
+++ b/rules/templates/template-kernel-make
@@ -46,6 +46,7 @@ KERNEL_@PACKAGE@_SHARED_OPT += \
HOSTCXX="$(HOSTCXX) -DGENERATOR_FILE" \
HOSTCC="$(HOSTCC) -DGENERATOR_FILE"
+KERNEL_@PACKAGE@_CONF_TOOL := kconfig
KERNEL_@PACKAGE@_CONF_OPT := \
$(KERNEL_@PACKAGE@_SHARED_OPT)
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-08-19 11:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 10:44 [ptxdist] [PATCH 1/3] " Roland Hieber
2020-08-07 10:44 ` [ptxdist] [PATCH 2/3] barebox, kernel: enable use of {allyes, allno, allmod, alldef, rand}config Roland Hieber
2020-08-17 6:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-07 10:44 ` [ptxdist] [PATCH 3/3] doc: ref parameter: document 'alldefconfig' Roland Hieber
2020-08-17 6:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-07 12:43 ` [ptxdist] [PATCH 1/3] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely Michael Olbrich
2020-08-19 11:27 ` Roland Hieber [this message]
2020-08-19 11:27 ` [ptxdist] [PATCH v2 2/4] barebox, kernel: tab-align variables Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:27 ` [ptxdist] [PATCH v2 3/4] platforms/kernel: re-align KERNEL_IMAGE defaults Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-19 11:27 ` [ptxdist] [PATCH v2 4/4] kernel: fix some typos in comments Roland Hieber
2020-09-04 17:01 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-04 17:01 ` [ptxdist] [APPLIED] barebox, kernel: set <PKG>_CONF_TOOL := kconfig explicitely Michael Olbrich
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=20200819112703.11988-1-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@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