scripts: Introduce {quiet_,}cmd_bin2c
authorPierre-Clément Tosi <ptosi@google.com>
Wed, 11 May 2022 09:36:07 +0000 (10:36 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 21:47:17 +0000 (17:47 -0400)
commitb6c2b25f648102019f81ba22738879889ecc02c1
tree3f637b6857781679c40fee6f49fa4584abf66fa1
parent84378d5c86d1b8e7afd2132e2c8d79d8e7e1f7d9
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>
scripts/Makefile.lib