1 ################################################################################
5 ################################################################################
7 # source included in the package
8 # came from barebox's repository:
9 # http://git.pengutronix.de/?p=barebox.git;a=blob;f=scripts/socfpga_mkimage.c;h=1a7a66d98841e9f52c3ea49c651286aa1412c9a5;hb=HEAD
10 HOST_MKPIMAGE_LICENSE
= GPLv2
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
))