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