On my system (Fedora 21(x86_64) or Raspian), echo
does not interpret '\n' as a new line.
So the Makefile
at line 23 generates an invalid openwrt/.config file when echoing the CFG variable into this file.
|
echo "$$CFG" > openwrt/.config |
Replacing
echo
by
printf
can solve this problem.