Patchwork [04/13] busybox: get default paths from BR2_PROJECT_DIR

login
register
mail settings
Submitter Arnout Vandecappelle
Date Oct. 13, 2012, 11:14 p.m.
Message ID <20121013231406.17317.12771.stgit@localhost>
Download mbox | patch
Permalink /patch/191319/
State RFC
Headers show

Comments

Arnout Vandecappelle - Oct. 13, 2012, 11:14 p.m.
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/busybox/Config.in |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index dedcf18..020e5c2 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -40,6 +40,7 @@  config BR2_BUSYBOX_VERSION
 
 config BR2_PACKAGE_BUSYBOX_CONFIG
 	string "BusyBox configuration file to use?"
+	default "$(PROJECT_DIR)/busybox.config" if BR2_PROJECT_DIR != ""
 	default "package/busybox/busybox-1.20.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
 	default "package/busybox/busybox-1.18.x.config" if BR2_BUSYBOX_VERSION_1_18_X
 	default "package/busybox/busybox-1.19.x.config" if BR2_BUSYBOX_VERSION_1_19_X