From: Arnout Vandecappelle Date: Sun, 12 Jul 2015 14:35:29 +0000 (+0200) Subject: mpg123: replace $(shell ...) call with $(subst ...) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d1530f46727c198a688fc4c69e29d22596b0c3b;p=buildroot.git mpg123: replace $(shell ...) call with $(subst ...) There's no reason to use a shell here. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk index 4c534e2b1a..171cbde0be 100644 --- a/package/mpg123/mpg123.mk +++ b/package/mpg123/mpg123.mk @@ -69,7 +69,7 @@ MPG123_CONF_OPTS += --with-default-audio=alsa MPG123_DEPENDENCIES += alsa-lib endif -MPG123_CONF_OPTS += --with-audio=$(shell echo $(MPG123_AUDIO) | tr ' ' ,) +MPG123_CONF_OPTS += --with-audio=$(subst $(space),$(comma),$(MPG123_AUDIO)) ifeq ($(BR2_PACKAGE_LIBTOOL),y) MPG123_DEPENDENCIES += libtool