diff options
Diffstat (limited to 'package/elftosb/elftosb.mk')
-rw-r--r-- | package/elftosb/elftosb.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/elftosb/elftosb.mk b/package/elftosb/elftosb.mk new file mode 100644 index 000000000..b2e50f72f --- /dev/null +++ b/package/elftosb/elftosb.mk @@ -0,0 +1,25 @@ +############################################################# +# +# elftosb +# +############################################################# +ELFTOSB_VERSION = 10.12.01 +ELFTOSB_SOURCE = elftosb-$(ELFTOSB_VERSION).tar.gz +ELFTOSB_SITE = http://repository.timesys.com/buildsources/e/elftosb/elftosb-$(ELFTOSB_VERSION) + +define HOST_ELFTOSB_BUILD_CMDS + $(HOST_MAKE_ENV) $(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)) + |