From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/3] config: make it possible to specify which config file to use for 'make defconfig'
Date: Sun, 4 Mar 2012 14:03:15 +0100 [thread overview]
Message-ID: <1330866196-5360-2-git-send-email-arnout@mind.be> (raw)
In-Reply-To: <1330866196-5360-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
So that this works:
% make defconfig DEFCONFIG=~/busybox-defconfig
Right now we have to do:
% cp ~/busybox-defconfig configs/busybox_defconfig
% make busybox_defconfig
That would dirty the buildroot tree and requires it to be writable.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 30099d9..b450b8f 100644
--- a/Makefile
+++ b/Makefile
@@ -602,7 +602,7 @@ silentoldconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
@mkdir -p $(BUILD_DIR)/buildroot-config
- @$(COMMON_CONFIG_ENV) $< --defconfig $(CONFIG_CONFIG_IN)
+ @$(COMMON_CONFIG_ENV) $< --defconfig$(patsubst %,=%,$(BR2_DEFCONFIG)) $(CONFIG_CONFIG_IN)
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(TOPDIR)/configs/%_defconfig outputmakefile
@mkdir -p $(BUILD_DIR)/buildroot-config
--
1.7.9.1
next prev parent reply other threads:[~2012-03-04 13:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-04 13:03 [Buildroot] [PATCH v2 1/3] Add target to print buildroot version Arnout Vandecappelle
2012-03-04 13:03 ` Arnout Vandecappelle [this message]
2012-03-05 9:37 ` [Buildroot] [PATCH v2 2/3] config: make it possible to specify which config file to use for 'make defconfig' Thomas Petazzoni
2012-03-05 9:58 ` Luca Ceresoli
2012-03-05 21:58 ` Felipe Contreras
2012-03-04 13:03 ` [Buildroot] [PATCH v2 3/3] Add test infrastructure Arnout Vandecappelle
2012-03-04 13:22 ` Arnout Vandecappelle
2012-03-05 9:39 ` Thomas Petazzoni
2012-03-06 7:09 ` Arnout Vandecappelle
2012-03-04 13:05 ` [Buildroot] [PATCH v2 1/3] Add target to print buildroot version Arnout Vandecappelle
2012-03-05 9:29 ` Luca Ceresoli
2012-03-06 7:11 ` Arnout Vandecappelle
2012-03-05 9:34 ` Thomas Petazzoni
2012-03-05 9:33 ` Thomas Petazzoni
2012-03-05 9:57 ` Luca Ceresoli
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=1330866196-5360-2-git-send-email-arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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