diff options
author | Nicolas Thill <nico@openwrt.org> | 2008-07-14 23:24:58 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2008-07-14 23:24:58 +0000 |
commit | 89eb716470a2262ccb855d7402711b940805ef20 (patch) | |
tree | 4f94fe05b3183dbc83fc7c9c2b42f9a08d7edfab | |
parent | 3890bd2126a29b85aabbda3fc4311736640ff5fa (diff) | |
download | mtk-20170518-89eb716470a2262ccb855d7402711b940805ef20.zip mtk-20170518-89eb716470a2262ccb855d7402711b940805ef20.tar.gz mtk-20170518-89eb716470a2262ccb855d7402711b940805ef20.tar.bz2 |
use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
-rw-r--r-- | toolchain/binutils/Makefile | 3 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 2 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 8682fa5..1023d9e 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -7,8 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=binutils -PKG_VERSION:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION))) -#")) +PKG_VERSION:=$(call qstrip,$(CONFIG_BINUTILS_VERSION)) PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/binutils/ \ ftp://gatekeeper.dec.com/pub/GNU/ \ diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index ef5ab22..3169798 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -21,7 +21,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gcc -PKG_VERSION:=$(strip $(subst ",, $(CONFIG_GCC_VERSION)))#")) +PKG_VERSION:=$(call qstrip,$(CONFIG_GCC_VERSION)) PATCH_DIR=./patches/$(PKG_VERSION) PKG_SOURCE_URL:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(PKG_VERSION) \ diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index e6f2b7b..8c02489 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk PKG_NAME:=uClibc -PKG_VERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION)))#")) -PKG_EXTRAVERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_EXTRA_VERSION)))#")) -PKG_VERSION_SNAPSHOT:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION_SNAPSHOT)))#")) +PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION)) +PKG_EXTRAVERSION:=$(call qstrip,$(CONFIG_UCLIBC_EXTRA_VERSION)) +PKG_VERSION_SNAPSHOT:=$(call qstrip,$(CONFIG_UCLIBC_VERSION_SNAPSHOT)) ifeq ($(PKG_VERSION_SNAPSHOT),y) PKG_SOURCE_URL:=http://www.uclibc.org/downloads/snapshots else |