diff options
| author | Tony Ambardar <itugrok@yahoo.com> | 2023-11-11 04:29:26 -0800 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-11-26 18:37:20 +0100 |
| commit | b16e14a220fcab19e3145328057e7188f00b6a17 (patch) | |
| tree | 7412f17f418fa7c01575843d11563790242e4742 /scripts | |
| parent | c66511bc488c3665d47dd60baf981ca1c385c221 (diff) | |
| download | upstream-b16e14a220fcab19e3145328057e7188f00b6a17.tar.gz upstream-b16e14a220fcab19e3145328057e7188f00b6a17.tar.bz2 upstream-b16e14a220fcab19e3145328057e7188f00b6a17.zip | |
image: use helper function for size units
Add the make function 'exp_units' for helping evaluate k/m/g size units in
expressions, and use this to consistently replace many ad hoc substitutions
like '$(subst k,* 1024,$(subst m, * 1024k,$(IMAGE_SIZE)))' in makefiles.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
