mkconfig: also create CONFIG defines with BSD sed
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 20 Jul 2011 08:38:21 +0000 (08:38 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 19:18:06 +0000 (21:18 +0200)
commit2901f8891d3d0a17b42c870947ab801d833d569e
treecb3decae06c5ce764e85e0e7e070ceb64c1e1a91
parent5bce5dc33d6313ace88bef2081f71532c9e6a4f1
mkconfig: also create CONFIG defines with BSD sed

Parsing of boards.cfg fails on FreeBSD with the error:

sed: 1: "/=/ {s/=/\t/;q } ; { s/ ...": extra characters at the end
of q command

BSD sed expects commands to be on seperate 'lines', hence it expects
an additional ; before the closing brackets.
BSD sed does not support \t, replaced by literal tab.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Cc: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
mkconfig