board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / mkpimage / mkpimage.mk
blob04b2ef080b822f60334e6b9da0c024e8de17dc2b
1 ################################################################################
3 # mkpimage
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
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))