gcc: fix linaro 4.5.1 version check
authorFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jan 2011 16:37:30 +0000 (16:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 28 Jan 2011 16:37:30 +0000 (16:37 +0000)
SVN-Revision: 25203

toolchain/gcc/common.mk

index 977a104d006f4edab62d982a22619caa53e0d406..43ffb475532cc01bc9725aca4b9536d5b262c561 100644 (file)
@@ -36,7 +36,7 @@ ifdef CONFIG_GCC_VERSION_LLVM
   PKG_SOURCE_SUBDIR:=$(GCC_DIR)
   HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(GCC_DIR)
 else
-ifdef CONFIG_GCC_VERSION_4_5_1_LINARO
+ifeq ($(CONFIG_GCC_VERSION),"4.5.1+l")
     PKG_REV:=4.5-2010.12-0
     PKG_VERSION:=4.5.2
     PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/4.5-2010.12-0/+download/