makefile: use qstrip
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 30 Jul 2009 15:28:20 +0000 (17:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 5 Sep 2009 12:43:16 +0000 (14:43 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile

index fd272b5f2ddcd24702df844954aa1d8bfa0119a6..f2e349f27f8dc73e00f0a91667b707a6d6759019 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -373,8 +373,7 @@ endif
 
 ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
 LOCALE_WHITELIST=$(PROJECT_BUILD_DIR)/locales.nopurge
-LOCALE_NOPURGE=$(strip $(subst ",,$(BR2_ENABLE_LOCALE_WHITELIST)))
-#"))
+LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
 
 target-purgelocales:
        rm -f $(LOCALE_WHITELIST)