From 5defa7f08daa286242431d5b86e580487e99ccc5 Mon Sep 17 00:00:00 2001
From: Jonas Gorski <jogo@openwrt.org>
Date: Tue, 2 Aug 2011 23:32:44 +0000
Subject: [PATCH] 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.

SVN-Revision: 27882
---
 toolchain/uClibc/Config.version | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/toolchain/uClibc/Config.version b/toolchain/uClibc/Config.version
index 843a499bda..d122ccce34 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
-- 
GitLab