diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-21 11:27:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-21 13:11:57 +0200 |
commit | 63f612f9e0ea2a9729b874ab45c3d9af45394d0d (patch) | |
tree | 5938bd507a671baafe87b2add7b0b042386a5bac /scripts/Makefile | |
parent | 484cde18daf38c981c01800448ba84050a17f710 (diff) | |
download | barebox-63f612f9e0ea2a9729b874ab45c3d9af45394d0d.tar.gz barebox-63f612f9e0ea2a9729b874ab45c3d9af45394d0d.tar.xz |
ARM: Rockchip: Add rkimage tool
This adds a tool for generating "RKNS" type booting image for newer
Rockchip SoCs. This image format is supported starting at least with
RK3568. Older image types are not (yet) supported.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.barebox.org/20210615141641.31577-5-s.hauer@pengutronix.de
Link: https://lore.barebox.org/20210621092802.27275-5-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 2d322fd1c9..eb0f5c5805 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -25,6 +25,9 @@ hostprogs-always-$(CONFIG_ARCH_MXS) += mxsimage mxsboot hostprogs-always-$(CONFIG_ARCH_LAYERSCAPE) += pblimage hostprogs-always-$(CONFIG_ARCH_STM32MP) += stm32image hostprogs-always-$(CONFIG_RISCV) += prelink-riscv +hostprogs-always-$(CONFIG_ARCH_ROCKCHIP) += rkimage +HOSTCFLAGS_rkimage = `pkg-config --cflags openssl` +HOSTLDLIBS_rkimage = `pkg-config --libs openssl` KBUILD_HOSTCFLAGS += -I$(srctree)/scripts/include/ HOSTLDLIBS_mxsimage = `pkg-config --libs openssl` HOSTCFLAGS_omap3-usb-loader.o = `pkg-config --cflags libusb-1.0` |