From: Geert Uytterhoeven Date: Sun, 9 Jun 2013 08:07:45 +0000 (+0200) Subject: h8300/boot: Use POSIX "$((..))" instead of bashism "$[...]" X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~36^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbc21c0086f7755553346d734bd6a3d37fe0d8d7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed