summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-29 00:32:44 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-29 00:32:44 +0000
commit224db523da8a4d49a20300b25081fbb5cccb9626 (patch)
treec626b5df69e04b31617b0e0d5f2c9efc11a7fc17 /include
parentd427d303d4f606343ea286dddc58a45358ed0c24 (diff)
downloadmtk-20170518-224db523da8a4d49a20300b25081fbb5cccb9626.zip
mtk-20170518-224db523da8a4d49a20300b25081fbb5cccb9626.tar.gz
mtk-20170518-224db523da8a4d49a20300b25081fbb5cccb9626.tar.bz2
replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
Diffstat (limited to 'include')
-rw-r--r--include/package-version-override.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package-version-override.mk b/include/package-version-override.mk
index f18ecd7..eaaa352 100644
--- a/include/package-version-override.mk
+++ b/include/package-version-override.mk
@@ -3,7 +3,7 @@ PKG_VERSION_ORGINAL:=$(PKG_VERSION)
# in case that another version is provided, overwrite the original
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_VERSION),y)
-PKG_VERSION:= $(strip $(subst ",, $(CONFIG_$(PKG_NAME)_CUSTOM_VERSION)))
+PKG_VERSION:=$(call qstrip,$(CONFIG_$(PKG_NAME)_CUSTOM_VERSION))
PKG_SOURCE:=$(subst $(PKG_VERSION_ORGINAL),$(PKG_VERSION),$(PKG_SOURCE))
PKG_MD5SUM:=
endif
@@ -26,7 +26,7 @@ endef
# in case that an customer source path is provided, set the acc. default variable
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_SOURCE_DIR),y)
-PKG_DEFAULT_CUSTOM_SOURCE_DIR:= $(strip $(subst ",, $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)))
+PKG_DEFAULT_CUSTOM_SOURCE_DIR:= $(call qstrip,$(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR))
endif
# package specific configuration