scripts: Introduce {quiet_,}cmd_bin2c
PATCH 1/1 scripts: Introduce {quiet_,}cmd_bin2c
Add a make command to compile binary files as C data through bin2c with
$(call,bin2c,<data_name_prefix>)
Note that this requires BUILD_BIN2C=y.
Cc Simon Glass <[email protected]>
Signed-off-by Pierre-Clément Tosi <[email protected]>
--- scripts/Makefile.lib | 5 +++++ 1 file changed, 5 insertions(+)
scripts/Makefile.lib +5 -0
@@ -567,6 +567,11 @@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \ # Additional commands for U-Boot # +# bin2c +# --------------------------------------------------------------------------- +quiet_cmd_bin2c = BIN2C $@ + cmd_bin2c = $(objtree)/scripts/bin2c $2 < $< > $@ + # mkimage # --------------------------------------------------------------------------- MKIMAGEOUTPUT ?= /dev/null
Signature · 1 line
2.36.0.512.ge40c2bad7a-goog
Quoted 8 lines · Pierre-Clément Tosi
Add a make command to compile binary files as C data through bin2c with
$(call,bin2c,<data_name_prefix>)Note that this requires BUILD_BIN2C=y.
Cc Simon Glass <[email protected]>Signed-off-by Pierre-Clément Tosi <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom