Skip to content
Commit fbc21c00 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent a4cb378f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment