diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-09 10:07:45 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-23 15:55:09 +0200 |
commit | fbc21c0086f7755553346d734bd6a3d37fe0d8d7 (patch) | |
tree | 780812a57f40489e04e122a2367f177aecdd2215 /arch/score | |
parent | a4cb378f4b90c4ab452db203d58e8b24328ee37c (diff) | |
download | op-kernel-dev-fbc21c0086f7755553346d734bd6a3d37fe0d8d7.zip op-kernel-dev-fbc21c0086f7755553346d734bd6a3d37fe0d8d7.tar.gz |
h8300/boot: Use POSIX "$((..))" instead of bashism "$[...]"
On Ubuntu, where /bin/sh -> dash, "make ARCH=h8300 clean" gives:
printf: 1: $[0x00400000+0x00140000]: expected numeric value
Replace the bash-specific "$[...]" by POSIX "$((..))" for arithmetic
expansion to fix this.
Note that according to the bash 4.1 manpage, "$[...]" is deprecated, and
will be removed in upcoming versions of bash.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions