[U-Boot] [PATCH] make-asm-offsets: fix sed script

Ben Gardiner bengardiner at nanometrics.ca
Wed Oct 27 16:45:17 CEST 2010


On Wed, Oct 27, 2010 at 2:37 AM, Wolfgang Denk <wd at denx.de> wrote:
> When copying the "sed" script to generate the asm-offsets.h file from
> the Linux Kbuild script into the make-asm-offsets file I missed the
> fact that the former runs in a "make" context and thus uses double
> "$$" to escape a single "$", while the latter is a shell script, where
> this must not be done.  Unfortunately the problem did not show up
> during the initial tests on Power Architecture systems, but on ARM the
> generated asm-offsets.h was not correct.
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>

Applies cleanly to 79e63139368eb7233b738d3d5a0df018a1287e3b of
git://git.denx.de/u-boot.git and fixes da850evm build there since
25ddd1fb0a2281b182529afbc8fda5de2dc16d96.

Tested on da850evm with NAND, env.oob and tftp.

Tested-by: Ben Gardiner <bengardiner at nanometrics.ca>

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list