make-asm-offsets: fix sed script
authorWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 06:31:42 +0000 (08:31 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 18:16:52 +0000 (20:16 +0200)
commite4691f5ed1a60a019505359b5033698cc813a787
tree668503a2e24b0825823162fdcfb64fe9074658f0
parentf503d52a9ee5bceaedbc4d8331d397aab96092ff
make-asm-offsets: fix sed script

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@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
tools/scripts/make-asm-offsets