blob: 1e6b9bfd1f8e6b730d1324ec7dea2ea23c5c961e [file] [log] [blame]
OPENPOWER_FFS_VERSION ?= bf4630076762d9c20c16c80c1c791f352b046dd1
OPENPOWER_FFS_SITE ?= $(call github,open-power,ffs,$(OPENPOWER_FFS_VERSION))
OPENPOWER_FFS_LICENSE = GPLv2+
define HOST_OPENPOWER_FFS_BUILD_CMDS
cd $(@D) ; \
$(HOST_MAKE_ENV) $(MAKE) all
endef
define HOST_OPENPOWER_FFS_INSTALL_CMDS
$(INSTALL) -D $(@D)/ecc/x86/ecc $(HOST_DIR)/usr/bin/ecc
$(INSTALL) -D $(@D)/fpart/x86/fpart $(HOST_DIR)/usr/bin/fpart
$(INSTALL) -D $(@D)/fcp/x86/fcp $(HOST_DIR)/usr/bin/fcp
endef
$(eval $(host-generic-package))