From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Wed, 20 Jul 2011 01:09:49 +0200 Subject: [U-Boot] [PATCH 2/3] mkconfig: create CONFIG_ defines without relying on GNU extensions In-Reply-To: <201107200057.58325.marek.vasut@gmail.com> References: <1311108110-37409-1-git-send-email-jeroen@myspectrum.nl> <1311108110-37409-3-git-send-email-jeroen@myspectrum.nl> <201107200057.58325.marek.vasut@gmail.com> Message-ID: <4E260EBD.5060103@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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