0e2e7c71d0
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
738 B
Makefile
25 lines
738 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|