summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-02 23:32:44 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-02 23:32:44 +0000
commit3774cad3e658569b02fd46c8dcebe55c8ddd4fba (patch)
treebf865a1e3fb5816c30f247c6c3a0ddeb80faf0cf /toolchain
parentc600b8c14188d1b0e0c1a7e27cbc70c78f0b3bfc (diff)
toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled, breaking packages depending on (not) having certain uClibc versions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27882 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Config.version8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/uClibc/Config.version b/toolchain/uClibc/Config.version
index 843a499bd..d122ccce3 100644
--- a/toolchain/uClibc/Config.version
+++ b/toolchain/uClibc/Config.version
@@ -3,3 +3,11 @@ config UCLIBC_VERSION
depends on USE_UCLIBC
default "0.9.32" if UCLIBC_VERSION_0_9_32
default "0.9.32"
+
+if !TOOLCHAINOPTS
+
+ config UCLIBC_VERSION_0_9_32
+ default y if USE_UCLIBC
+ bool
+
+endif