From patchwork Wed Oct 24 07:17:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCHv2,05/10] at91bootstrap3: add -update-config target Date: Tue, 23 Oct 2012 21:17:02 -0000 From: Arnout Vandecappelle X-Patchwork-Id: 193693 Message-Id: <1351063027-13800-6-git-send-email-arnout@mind.be> To: buildroot@busybox.net From: "Arnout Vandecappelle (Essensium/Mind)" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Luca Ceresoli --- boot/at91bootstrap3/at91bootstrap3.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk index 74f08e8..bb6ef09 100644 --- a/boot/at91bootstrap3/at91bootstrap3.mk +++ b/boot/at91bootstrap3/at91bootstrap3.mk @@ -65,3 +65,10 @@ $(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT endif endif endif + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y) +at91bootstrap3-update-config: at91bootstrap3-configure + cp -f $(AT91BOOTSTRAP3_DIR)/.config $(AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE) +else +at91bootstrap3-update-config: ; +endif