d21aaa9baf
Now that the package infrastructure doesn't attempt to download a package that has an empty version string, there's no need to define the SOURCE variable in the mkpimage package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
676 B
Makefile
22 lines
676 B
Makefile
################################################################################
|
|
#
|
|
# mkpimage
|
|
#
|
|
################################################################################
|
|
|
|
# source included in the package
|
|
# came from barebox's repository:
|
|
# http://git.pengutronix.de/?p=barebox.git;a=blob;f=scripts/socfpga_mkimage.c;h=1a7a66d98841e9f52c3ea49c651286aa1412c9a5;hb=HEAD
|
|
HOST_MKPIMAGE_LICENSE = GPLv2
|
|
|
|
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)/usr/bin/mkpimage
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|