[U-Boot] [PATCH 2/3] mkconfig: create CONFIG_ defines without relying on GNU extensions
Jeroen Hofstee
dasuboot at myspectrum.nl
Wed Jul 20 01:09:49 CEST 2011
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?
>
yes I did build all arm boards on ubuntu (and i386?) on ubuntu. (it
didn't build more
nor less boards). As pointed out by Mike there might be a a patch more
closely to
the original, but I will need to test that (especially if GNU support
it), and will do that
tomorrow (today actually CEST). So preferably take that one.
The BSD version doesn't understand \t, so it is a literal tab character.
Can't help it.
Regards,
Jeroen
More information about the U-Boot
mailing list