aboutsummaryrefslogtreecommitdiff
path: root/package/altera-stapl/altera-stapl.mk
blob: afafbe2d08f0ff55450ed253d2e40cdeee602d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# altera-stapl
#
################################################################################

ALTERA_STAPL_VERSION = 0.3.3
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))