summaryrefslogtreecommitdiff
path: root/package/omap-u-boot-utils/omap-u-boot-utils.mk
blob: 7cfed65088a85ba42e0697135b45d4f30b060421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# omap-u-boot-utils
#
################################################################################

OMAP_U_BOOT_UTILS_VERSION = 3f07426cddc0be9e24702e7aacc7574ddd7fba28
OMAP_U_BOOT_UTILS_SITE = $(call github,nmenon,omap-u-boot-utils,$(OMAP_U_BOOT_UTILS_VERSION))
OMAP_U_BOOT_UTILS_LICENSE = GPLv2, GPLv2+
OMAP_U_BOOT_UTILS_LICENSE_FILES = COPYING

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) -D -m 755 $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \
	done
endef

$(eval $(host-generic-package))