[U-Boot] [PATCH 2/3] mkconfig: create CONFIG_ defines without relying on GNU extensions

Mike Frysinger
2011-07-19T23:03:02Z

On Tue, Jul 19, 2011 at 18:57, Marek Vasut wrote:
> On Tuesday, July 19, 2011 10:41:49 PM Jeroen Hofstee wrote:
>> Parsing of boards.cfg relies on sed GNU extensions and fails if sed
>> doesn't support these. On FreeBSD this leads to the error:
>>
>> sed: 1: "/=/ {s/=/\t/;q } ; { s/ ...": extra characters at the end
>> of q command
>
> Does it still work on linux as well? Did you test? If so, I'm all for it being
> merged, but just from a brief look, I see it'll be missing the TAB. Am I right?

he inlined the tab. it isnt actually a space there.

not that it matters as this is used to create "#define CONFIG_FOO 1"
and preprocessors dont care if it's a tab or space before that "1".
-mike