use qstrip macro to strip quoted CONFIG_* strings

SVN-Revision: 11832
This commit is contained in:
Nicolas Thill 2008-07-14 23:24:58 +00:00
parent 3890bd2126
commit 89eb716470
3 changed files with 5 additions and 6 deletions

View file

@ -7,8 +7,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=binutils 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/ \ PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/binutils/ \
ftp://gatekeeper.dec.com/pub/GNU/ \ ftp://gatekeeper.dec.com/pub/GNU/ \

View file

@ -21,7 +21,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gcc PKG_NAME:=gcc
PKG_VERSION:=$(strip $(subst ",, $(CONFIG_GCC_VERSION)))#")) PKG_VERSION:=$(call qstrip,$(CONFIG_GCC_VERSION))
PATCH_DIR=./patches/$(PKG_VERSION) PATCH_DIR=./patches/$(PKG_VERSION)
PKG_SOURCE_URL:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(PKG_VERSION) \ PKG_SOURCE_URL:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(PKG_VERSION) \

View file

@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
PKG_NAME:=uClibc PKG_NAME:=uClibc
PKG_VERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION)))#")) PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION))
PKG_EXTRAVERSION:=$(strip $(subst ",, $(CONFIG_UCLIBC_EXTRA_VERSION)))#")) PKG_EXTRAVERSION:=$(call qstrip,$(CONFIG_UCLIBC_EXTRA_VERSION))
PKG_VERSION_SNAPSHOT:=$(strip $(subst ",, $(CONFIG_UCLIBC_VERSION_SNAPSHOT)))#")) PKG_VERSION_SNAPSHOT:=$(call qstrip,$(CONFIG_UCLIBC_VERSION_SNAPSHOT))
ifeq ($(PKG_VERSION_SNAPSHOT),y) ifeq ($(PKG_VERSION_SNAPSHOT),y)
PKG_SOURCE_URL:=http://www.uclibc.org/downloads/snapshots PKG_SOURCE_URL:=http://www.uclibc.org/downloads/snapshots
else else