Patchwork [3/4] busybox: busybox-update-config should depend on busybox-configure

login
register
mail settings
Submitter Arnout Vandecappelle
Date Feb. 5, 2013, 5:16 p.m.
Message ID <906319b949f250124fdd06ea6bf4ac3b44337903.1360084128.git.arnout@mind.be>
Download mbox | patch
Permalink /patch/218299/
State Accepted
Headers show

Comments

Arnout Vandecappelle - Feb. 5, 2013, 5:16 p.m.
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

Before the config file can be copied, it has to exist.  The
other xxx-update-config targets do this as well.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
---
v4: Rebased against master.

v2: small spelling mistake in commit message
---
 package/busybox/busybox.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Korsgaard - Feb. 5, 2013, 8:38 p.m.
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
 Arnout> Before the config file can be copied, it has to exist.  The
 Arnout> other xxx-update-config targets do this as well.

Committed, thanks.

Patch

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 9154c08..599e145 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -223,5 +223,5 @@  busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
 	rm -f $(BUSYBOX_DIR)/.stamp_built
 	rm -f $(BUSYBOX_DIR)/.stamp_target_installed
 
-busybox-update-config:
+busybox-update-config: busybox-configure
 	cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)