kumquat-buildroot/package/altera-stapl/altera-stapl.mk
Jochen Baltes 644e85d660 package/altera-stapl: new package
Alteras Jam STAPL Bytecode Player with 64-bit support.
This is a user-space port of the altera-stapl driver from the linux kernel.
The source released by Altera wasn't 64-bit compatible.
Additionally, the linux version is much cleaner and old cruft was removed.

Signed-off-by: Jochen Baltes <jochen.baltes@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: use the latest HEAD of the repository]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-09-14 23:05:49 +02:00

22 lines
663 B
Makefile

################################################################################
#
# altera-stapl
#
################################################################################
ALTERA_STAPL_VERSION = 7044a63b7d1a3fc6840cd3130ec984454f1559c0
ALTERA_STAPL_SITE = $(call github,kontron,altera-stapl,$(ALTERA_STAPL_VERSION))
ALTERA_STAPL_LICENSE = GPLv2+
ALTERA_STAPL_LICENSE_FILES = COPYING
ALTERA_STAPL_DEPENDENCIES = libgpiod
define ALTERA_STAPL_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
endef
define ALTERA_STAPL_INSTALL_TARGET_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))