X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fscripts%2Fmake-asm-offsets;h=4c33756d66e6d637dffe817c6fc1b59099eea6c1;hb=335143c76612a0ae26eef8abeda77641d4f63b50;hp=61c095f426495a429736b0547b30ca284921c047;hpb=16a354f920f3959ed847bd917bdfbc7eba48cf1e;p=platform%2Fkernel%2Fu-boot.git diff --git a/tools/scripts/make-asm-offsets b/tools/scripts/make-asm-offsets index 61c095f..4c33756 100755 --- a/tools/scripts/make-asm-offsets +++ b/tools/scripts/make-asm-offsets @@ -8,8 +8,8 @@ mkdir -p $(dirname $2) # Default sed regexp - multiline due to syntax constraints SED_CMD="/^->/{s:->#\(.*\):/* \1 */:; \ - s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 (\2) /* \3 */:; \ - s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ + s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 (\2) /* \3 */:; \ + s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ s:->::; p;}" (set -e