kumquat-buildroot/package/omap-u-boot-utils/omap-u-boot-utils.mk
Marek Belisko c2d525e82d Download packages from github in tar.gz format instead git format.
Verified way how to get packages from github by version or sha1
(it's enough to use first 7 characters from SHA1):
1. by sha1
FOO_VERSION = 1234567
FOO_SITE = http://github.com/user/package/tarball/branch

2. by version
FOO_VERSION = v1.0
FOO_SITE = http://github.com/user/package/tarball/$(FOO_VERSION)

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-08 21:21:00 +02:00

21 lines
533 B
Makefile

#############################################################
#
# omap-u-boot-utils
#
#############################################################
OMAP_U_BOOT_UTILS_VERSION = 8aff852
OMAP_U_BOOT_UTILS_SITE = http://github.com/nmenon/omap-u-boot-utils/tarball/master
define HOST_OMAP_U_BOOT_UTILS_BUILD_CMDS
$(MAKE) -C $(@D)
endef
define HOST_OMAP_U_BOOT_UTILS_INSTALL_CMDS
for f in gpsign pserial tagger ucmd ukermit ; do \
install -m 755 -D $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \
done
endef
$(eval $(host-generic-package))