2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-07-18 18:02:42 +02:00
|
|
|
#
|
|
|
|
# elftosb
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-07-18 18:02:42 +02:00
|
|
|
ELFTOSB_VERSION = 10.12.01
|
|
|
|
ELFTOSB_SITE = http://repository.timesys.com/buildsources/e/elftosb/elftosb-$(ELFTOSB_VERSION)
|
|
|
|
|
|
|
|
define HOST_ELFTOSB_BUILD_CMDS
|
2012-07-22 20:29:50 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
|
2012-07-18 18:02:42 +02:00
|
|
|
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))
|