Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/10] ctng: add ctng-update-config target
Date: Sun, 21 Oct 2012 01:45:24 +0200	[thread overview]
Message-ID: <1350776731-8467-4-git-send-email-arnout@mind.be> (raw)
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>

From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

Analogous to linux-update-config and friends.

Also update documentation.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 docs/manual/customize-store.txt                  |    8 ++++----
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk |    3 +++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
index bc1751e..c7ef00c 100644
--- a/docs/manual/customize-store.txt
+++ b/docs/manual/customize-store.txt
@@ -58,8 +58,8 @@ configuration files easier.
   path specified by +BR2_PACKAGE_BUSYBOX_CONFIG+.
 * +make uclibc-update-config+ saves the uClibc configuration to the
   path specified by +BR2_UCLIBC_CONFIG+.
-* For crosstool-NG, no helper exists so you have to copy the config
-  file manually to +BR2_TOOLCHAIN_CTNG_CONFIG+.
+* +make ctng-update-config+ saves the crosstool-NG configuration to the
+  patch specified by +BR2_TOOLCHAIN_CTNG_CONFIG+.
 
 
 Creating your own board support
@@ -122,7 +122,7 @@ you can skip the steps that are not relevant for your use case.
 1. Write the configuration files:
    * +make linux-update-defconfig+
    * +make busybox-update-config+
-   * +cp <output>/build/build-toolchain/.config board/<manufacturer>/<boardname>/ctng.config+
+   * +make ctng-update-config+
    * +make uclibc-update-config+
    * +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
 1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
@@ -163,7 +163,7 @@ the buildroot tree).
 1. Write the configuration files:
    * +make linux-update-defconfig+
    * +make busybox-update-config+
-   * +cp <output>/build/build-toolchain/.config <path-to-board-directory>/ctng.config+
+   * +make ctng-update-config+
    * +make uclibc-update-config+
    * +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
 1. Create +<path-to-board-directory>/fs-overlay+ and fill it
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index e46bb20..fb6da0f 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -397,3 +397,6 @@ ctng-menuconfig: $(CTNG_DIR)/.config
 	$(call ctng-oldconfig,$<)
 	$(call ctng-check-config-changed,$<,$<.timestamp)
 	$(Q)rm -f $<.timestamp
+
+ctng-update-config: $(CTNG_DIR)/.config
+	cp -f $< $(CTNG_CONFIG_FILE)
-- 
1.7.10.4

  parent reply	other threads:[~2012-10-20 23:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20 23:45 [Buildroot] [PATCH 00/10] Various simplifications of the buildroot configuration Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 01/10] manual: add section about storing the configuration Arnout Vandecappelle
2012-10-21 15:05   ` Samuel Martin
2012-10-21 18:20     ` Thomas Petazzoni
2012-10-23 13:03     ` Arnout Vandecappelle
2012-10-21 17:34   ` Stephan Hoffmann
2012-10-23 13:05     ` Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 02/10] target/generic: add filesystem overlay option Arnout Vandecappelle
2012-10-20 23:45 ` Arnout Vandecappelle [this message]
2012-10-21 15:06   ` [Buildroot] [PATCH 03/10] ctng: add ctng-update-config target Samuel Martin
2012-10-23 13:09     ` Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 04/10] busybox: busybox-update-config should depend on busybox-configure Arnout Vandecappelle
2012-10-21 15:07   ` Samuel Martin
2012-10-23 13:15     ` Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 05/10] at91bootstrap3: add -update-config target Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 06/10] Add update-all-config target Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 07/10] busybox: update-all-config shouldn't update default busybox config Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 08/10] crosstool-ng: " Arnout Vandecappelle
2012-10-21 15:07   ` Samuel Martin
2012-10-23 13:16     ` Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 09/10] uClibc: update-all-config shouldn't update default uClibc config Arnout Vandecappelle
2012-10-20 23:45 ` [Buildroot] [PATCH 10/10] Make savedefconfig save to a configured file Arnout Vandecappelle

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=1350776731-8467-4-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