kumquat-buildroot/package/mkpimage/mkpimage.mk
Lionel Flandrin 29c00e40af mkpimage: bump to latest barebox version
Adds support for header v1 (used on Arria 10 SoCs)

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-09 23:33:34 +01:00

22 lines
664 B
Makefile

################################################################################
#
# mkpimage
#
################################################################################
HOST_MKPIMAGE_LICENSE = GPLv2
# source included in the package
# came from barebox's repository:
# https://git.pengutronix.de/cgit/barebox/tree/scripts/socfpga_mkimage.c?id=55d29525146dcd280987dfd565bfd34f08858fb3
define HOST_MKPIMAGE_BUILD_CMDS
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
package/mkpimage/mkpimage.c -o $(@D)/mkpimage
endef
define HOST_MKPIMAGE_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/mkpimage $(HOST_DIR)/usr/bin/mkpimage
endef
$(eval $(host-generic-package))