[Buildroot] [PATCH 1/7] core/pkg-utils: add macro to escape-and-printf
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jun 6 21:07:23 UTC 2016
Hello,
On Mon, 6 Jun 2016 22:43:38 +0200, Yann E. MORIN wrote:
> +define PRINTF
> + printf '$(subst $(sep),\n,\
> + $(subst $(PERCENT),$(PERCENT)$(PERCENT),\
> + $(subst $(QUOTE),$(QUOTE)\$(QUOTE)$(QUOTE),\
> + $(subst \,\\,$(1)))))\n'
> +endef
Do we expect this to be used outside of fs/common.mk? Since it's not
the case today, I would suggest to move it there.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list