ramips: allow JCG_MAXSIZE in kiB in Build/jcg-header
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 12 Dec 2019 19:26:06 +0000 (20:26 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Dec 2019 18:54:14 +0000 (19:54 +0100)
commit52c9f951786cd5885ab5e0a329f010454045cbd7
treeb6db6986d09766e51c0fefb151670fa01f8c3aca
parente33a123140cec10ef1b31511f5b2d235bac08d2f
ramips: allow JCG_MAXSIZE in kiB in Build/jcg-header

This allows JCG_MAXSIZE to be specified in kilobytes. This makes
this value more consistent and easier comparable with other size
variables.

This also changes the only occurence of the variable, for Cudy WR1000.

This is backported to 19.07 for convenience, as other developers
backporting device support might not be aware that JCG_MAXSIZE in
kilobytes would not work there.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 0bf4d681d4f2e4bd3c3a61e7fe5dca2a40b1902f)
target/linux/ramips/image/Makefile
target/linux/ramips/image/mt76x8.mk