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 977a104..43ffb47 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/