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)
commitb225de37bc223474123dd1ef21d9eba2c11ca76c
tree7cb7933b167fc3e04a0d0dfe9e17742227bdafdf
parentd35801b9c5fdd409bdfe600d132ab8340da88802
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