From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot: scripts target/device/Atmel/atngw100 tar etc...
Date: Sun, 30 Mar 2008 15:01:15 +0200 [thread overview]
Message-ID: <871w5s4b8k.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20080329140922.927033C45E@busybox.net> (ulf@uclibc.org's message of "Sat\, 29 Mar 2008 07\:09\:22 -0700 \(PDT\)")
>>>>> "ulf" == ulf <ulf@uclibc.org> writes:
ulf> Author: ulf
ulf> Date: 2008-03-29 07:09:22 -0700 (Sat, 29 Mar 2008)
ulf> New Revision: 21554
ulf> Log:
ulf> Add some robustness to linux configuration
ulf> Added:
ulf> trunk/buildroot/scripts/get_linux_config.sh
ulf> Modified:
ulf> trunk/buildroot/target/device/Atmel/atngw100/atngw100_defconfig
ulf> trunk/buildroot/target/linux/Makefile.in.advanced
<snip>
ulf> -$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
ulf> +$(LINUX26_DIR)/.config: $(LINUX26_DIR)/.patched
ulf> ifeq ($(BR2_PACKAGE_LINUX_USE_DEFCONFIG),y)
ulf> $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(BOARD_NAME)_defconfig
ulf> endif
ulf> @@ -294,8 +284,33 @@
ulf> $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) xconfig
ulf> endif
ulf> ifeq ($(BR2_PACKAGE_LINUX_USE_KCONFIG),y)
ulf> - cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
ulf> + # Try user defined config
ulf> + if [ -f "$(LINUX26_KCONFIG)" ] ; then \
ulf> + cp -dpf $(LINUX26_KCONFIG) $@ ; \
ulf> + fi
ulf> + # Try to get a config for this linux version in the board directory
ulf> + if [ ! -f "$(LINUX26_DIR)/.config" ] ; then \
ulf> + if [ -f "$(BOARD_PATH)/$(BOARD_NAME)-linux-$(LINUX26_VERSION).config" ] ; then \
ulf> + cp -dpf $(BOARD_PATH)/$(BOARD_NAME)-linux-$(LINUX26_VERSION).config $@ ; \
ulf> + fi ; \
ulf> + fi
ulf> + # Try to get a config for latest linux version in the board directory
ulf> + if [ ! -f "$(LINUX26_DIR)/.config" ] ; then \
ulf> + scripts/get_linux_config.sh $(BOARD_PATH) $(LINUX26_DIR) ; \
ulf> + fi
ulf> + # Use a board config defined in the linux source.
ulf> + if [ ! -f "$(LINUX26_DIR)/.config" ] ; then \
ulf> + $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(BOARD_NAME)_defconfig || \
ulf> + echo "$(BOARD_NAME)_defconfig failed..." ; \
ulf> + fi
ulf> + # let the user create his/her own config
ulf> + if [ ! -f "$(LINUX26_DIR)/.config" ] ; then \
ulf> + $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) xconfig ; \
Please use menuconfig instead of xconfig as the user might not have
X/QT installed and we already use menuconfig for buildroot.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2008-03-30 13:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-29 14:09 [Buildroot] svn commit: trunk/buildroot: scripts target/device/Atmel/atngw100 tar etc ulf at uclibc.org
2008-03-30 13:01 ` Peter Korsgaard [this message]
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=871w5s4b8k.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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