-ifeq ($(CONFIG_GCC_VERSION),"4.5-linaro")
- PKG_REV:=4.5-2011.06-0
- PKG_VERSION:=4.5.4
- PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/4.5/$(PKG_REV)/+download/
+ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro)
+ ifeq ($(CONFIG_GCC_VERSION),"4.5-linaro")
+ PKG_REV:=4.5-2012.02
+ PKG_VERSION:=4.5.4
+ PKG_VERSION_MAJOR:=4.5
+ PKG_MD5SUM:=e05be9ea8eca2ad4c859d35dbab568e7
+ endif
+ ifeq ($(CONFIG_GCC_VERSION),"4.6-linaro")
+ PKG_REV:=4.6-2012.02
+ PKG_VERSION:=4.6.3
+ PKG_VERSION_MAJOR:=4.6
+ PKG_MD5SUM:=2b7887846f8e5ac1ca58fe4dfaabf5a6
+ endif
+ PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/