ar71xx: fix giving extra arguments to Build/mktplinkfw
authorJohn Crispin <john@openwrt.org>
Thu, 21 Apr 2016 19:47:19 +0000 (19:47 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 21 Apr 2016 19:47:19 +0000 (19:47 +0000)
commitfde9e256647966d0d1c9e433bdbbad510d719cc2
treed04657731f9fe35c2406aeaa06bf645ea45e26df
parenta7e389197c8585e5ef7900440b8f53bbdd927fea
ar71xx: fix giving extra arguments to Build/mktplinkfw

The build command will always get the whole argument string in $(1),
regardless of whitespace. We need to use word/wordlist to split the string
after the first word.

Whitespace and quotation will be given to the command verbatim (make will
ignore it), so to give multiple arguments, no quotation marks may be used.

Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49216
target/linux/ar71xx/image/Makefile