openwrt/target
Sungbo Eo 4607f55439 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: a6a0b252ba ("bcm4908: add sysupgrade support")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit f432353850)
2021-11-05 14:13:46 +01:00
..
imagebuilder imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-05-14 22:52:40 +02:00
linux bcm4908: fix calculation of new cferam index 2021-11-05 14:13:46 +01:00
sdk sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives 2021-05-14 22:52:40 +02:00
toolchain target: fix copying of licenses for SDK/toolchain 2021-02-14 21:56:29 +01:00
Config.in build: define PWM_SUPPORT arch feature flag 2020-09-25 19:32:33 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00