aboutsummaryrefslogtreecommitdiffstats
path: root/include/trusted-firmware-a.mk
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2021-08-01 22:17:04 +0900
committerRafał Miłecki <rafal@milecki.pl>2021-11-04 15:52:03 +0100
commitf4323538501d58298f4df73a034a51375a477cfc (patch)
tree4d4cc82efc9d024eba80ed07d2709bfa2dfe40ef /include/trusted-firmware-a.mk
parenta05452e4d6f9ab9c77d6835e72dec1e166d2775c (diff)
downloadupstream-f4323538501d58298f4df73a034a51375a477cfc.tar.gz
upstream-f4323538501d58298f4df73a034a51375a477cfc.tar.bz2
upstream-f4323538501d58298f4df73a034a51375a477cfc.zip
bcm4908: fix calculation of new cferam index
The arithmetic expansion fails when idx becomes a two digit number. Fix this by relying on expr command. root@OpenWrt:/# echo $(((028 + 0) % 1000)) /bin/ash: arithmetic syntax error root@OpenWrt:/# echo $(($(expr 028 + 0) % 1000)) 28 Fixes: a6a0b252baa6 ("bcm4908: add sysupgrade support") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'include/trusted-firmware-a.mk')
0 files changed, 0 insertions, 0 deletions