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

Heiko Schocher hs at denx.de
Wed Oct 27 08:54:41 CEST 2010


Hello Wolfgang,

Wolfgang Denk 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>
> ---
>  tools/scripts/make-asm-offsets |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Tested on the omap3_beagle board, so:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list