summaryrefslogtreecommitdiffstats
path: root/package/elftosb/elftosb.mk
blob: c2943e4f443c959d4d3497335d1e1d01bc013647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
#
# elftosb
#
################################################################################

ELFTOSB_VERSION = 10.12.01
ELFTOSB_SITE = http://repository.timesys.com/buildsources/e/elftosb/elftosb-$(ELFTOSB_VERSION)

define HOST_ELFTOSB_BUILD_CMDS
	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
endef

define HOST_ELFTOSB_INSTALL_CMDS
	$(INSTALL) -D -m 0755 $(@D)/bld/linux/elftosb $(HOST_DIR)/usr/bin/elftosb
	$(INSTALL) -D -m 0755 $(@D)/bld/linux/keygen $(HOST_DIR)/usr/bin/keygen
	$(INSTALL) -D -m 0755 $(@D)/bld/linux/sbtool $(HOST_DIR)/usr/bin/sbtool
endef

define HOST_ELFTOSB_CLEAN_CMDS
	rm -rf $(@D)/bld/linux
endef

$(eval $(host-generic-package))
OpenPOWER on IntegriCloud