package/python-simplejson: bump version to 3.8.2
[buildroot-gz.git] / package / mkpimage / mkpimage.mk
blobc30a6809cebcd7038d0f29846cfff96bd8bb32be
1 ################################################################################
3 # mkpimage
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
15 endef
17 define HOST_MKPIMAGE_INSTALL_CMDS
18 $(INSTALL) -D -m 0755 $(@D)/mkpimage $(HOST_DIR)/usr/bin/mkpimage
19 endef
21 $(eval $(host-generic-package))