package/rpi-userland: don't install file in random location
[buildroot-gz.git] / package / elftosb / elftosb.mk
blobac9aa32538ba8842e670b60daf7d865daeaf70e8
1 ################################################################################
3 # elftosb
5 ################################################################################
7 ELFTOSB_VERSION = 10.12.01
8 ELFTOSB_SITE = http://repository.timesys.com/buildsources/e/elftosb/elftosb-$(ELFTOSB_VERSION)
9 ELFTOSB_LICENSE = BSD-3c
10 ELFTOSB_LICENSE_FILES = COPYING
12 define HOST_ELFTOSB_BUILD_CMDS
13 $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
14 endef
16 define HOST_ELFTOSB_INSTALL_CMDS
17 $(INSTALL) -D -m 0755 $(@D)/bld/linux/elftosb $(HOST_DIR)/usr/bin/elftosb
18 $(INSTALL) -D -m 0755 $(@D)/bld/linux/keygen $(HOST_DIR)/usr/bin/keygen
19 $(INSTALL) -D -m 0755 $(@D)/bld/linux/sbtool $(HOST_DIR)/usr/bin/sbtool
20 endef
22 $(eval $(host-generic-package))