mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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 <sjg@chromium.org> Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
This commit is contained in:
parent
84378d5c86
commit
b6c2b25f64
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue