Patchwork [07/13] uClibc: get default paths from BR2_PROJECT_DIR

login
register
mail settings
Submitter Arnout Vandecappelle
Date Oct. 13, 2012, 11:14 p.m.
Message ID <20121013231422.17317.83807.stgit@localhost>
Download mbox | patch
Permalink /patch/191322/
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>
---
 toolchain/uClibc/Config.in |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index f46a415..9db0cfc 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -42,6 +42,7 @@  config BR2_UCLIBC_VERSION_STRING
 
 config BR2_UCLIBC_CONFIG
 	string "uClibc configuration file to use?"
+	default "$(PROJECT_DIR)/uClibc.config" if BR2_PROJECT_DIR != ""
 	default "toolchain/uClibc/uClibc-0.9.31.config" if BR2_UCLIBC_VERSION_0_9_31
 	default "toolchain/uClibc/uClibc-0.9.32.config" if BR2_UCLIBC_VERSION_0_9_32
 	default "toolchain/uClibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33