kumquat-buildroot/package/elftosb/elftosb.mk
Gustavo Zacarias d0f2a1d64b elftosb: add license information
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-01 17:30:52 +02:00

23 lines
733 B
Makefile

################################################################################
#
# elftosb
#
################################################################################
ELFTOSB_VERSION = 10.12.01
ELFTOSB_SITE = http://repository.timesys.com/buildsources/e/elftosb/elftosb-$(ELFTOSB_VERSION)
ELFTOSB_LICENSE = BSD-3c
ELFTOSB_LICENSE_FILES = COPYING
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
$(eval $(host-generic-package))