From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
To: buildroot@busybox.net
Subject: [PATCH 1/1] Search for defconfigs in target, not entire tree
Date: Fri, 22 Jun 2007 13:53:21 +0200 [thread overview]
Message-ID: <mailman.0.1182763698.1096.buildroot@uclibc.org> (raw)
This patch changes the way the top level Makefile searches for a
<board>_defconfig file, it will only look in the target/ directory and its sub
directories.
The patch also enables loading a defconfig even if there already is a .config.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
---
Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 1285144..1517653 100644
--- a/Makefile
+++ b/Makefile
@@ -191,10 +191,6 @@ allnoconfig: $(CONFIG)/conf
defconfig: $(CONFIG)/conf
@$(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
-%_defconfig: $(CONFIG)/conf
- cp $(shell find . -name $@) .config
- @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
-
#############################################################
#
# Cleanup and misc junk
@@ -209,6 +205,10 @@ distclean: clean
endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
+%_defconfig: $(CONFIG)/conf
+ cp $(shell find target/ -name $@) .config
+ @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+
.PHONY: dummy subdirs release distclean clean config oldconfig \
menuconfig tags check test depend defconfig
--
1.4.4.2
--=-GryXooXpkmpk+Kv25C72--
reply other threads:[~2007-06-22 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=mailman.0.1182763698.1096.buildroot@uclibc.org \
--to=hcegtvedt@atmel.com \
--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