xref: /OK3568_Linux_fs/buildroot/package/openfpgaloader/openfpgaloader.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# openfpgaloader
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunOPENFPGALOADER_VERSION = 381c67de00a3102cf6e9bb20ca84030a71c7a0f2
8*4882a593SmuzhiyunOPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION))
9*4882a593SmuzhiyunOPENFPGALOADER_LICENSE = AGPL-3.0
10*4882a593SmuzhiyunOPENFPGALOADER_LICENSE_FILES = LICENSE
11*4882a593SmuzhiyunOPENFPGALOADER_DEPENDENCIES = libftdi1
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_HAS_UDEV),y)
14*4882a593SmuzhiyunOPENFPGALOADER_DEPENDENCIES += udev
15*4882a593SmuzhiyunOPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=ON
16*4882a593Smuzhiyunelse
17*4882a593SmuzhiyunOPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF
18*4882a593Smuzhiyunendif
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun$(eval $(cmake-package))
21