xref: /OK3568_Linux_fs/buildroot/package/open-lldp/open-lldp.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# open-lldp
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunOPEN_LLDP_VERSION = 1.1
8*4882a593SmuzhiyunOPEN_LLDP_SITE = $(call github,intel,openlldp,v$(OPEN_LLDP_VERSION))
9*4882a593SmuzhiyunOPEN_LLDP_DEPENDENCIES = readline libnl libconfig host-pkgconf
10*4882a593SmuzhiyunOPEN_LLDP_LICENSE = GPL-2.0
11*4882a593SmuzhiyunOPEN_LLDP_LICENSE_FILES = COPYING
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# Fetching from git
14*4882a593SmuzhiyunOPEN_LLDP_AUTORECONF = YES
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunifeq ($(BR2_INIT_SYSTEMD),y)
17*4882a593SmuzhiyunOPEN_LLDP_DEPENDENCIES += systemd
18*4882a593SmuzhiyunOPEN_LLDP_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
19*4882a593Smuzhiyunendif
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun$(eval $(autotools-package))
22