![Arnout Vandecappelle](/assets/img/avatar_default.png)
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
662 B
Makefile
22 lines
662 B
Makefile
################################################################################
|
|
#
|
|
# mkpimage
|
|
#
|
|
################################################################################
|
|
|
|
HOST_MKPIMAGE_LICENSE = GPL-2.0
|
|
|
|
# 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)/bin/mkpimage
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|