diff options
Diffstat (limited to 'meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb')
-rw-r--r-- | meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb b/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb new file mode 100644 index 000000000..5fbf0645e --- /dev/null +++ b/meta-networking/recipes-protocols/openlldp/openlldp_1.0.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Open-LLDP" | ||
2 | DESCRIPTION = "Link Layer Discovery Protocol for Linux that includes support for DCBX" | ||
3 | HOMEPAGE = "http://open-lldp.org/start" | ||
4 | |||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8c2bc283e65df398ced5f5b747e78162" | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | inherit pkgconfig autotools | ||
11 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} | ||
12 | |||
13 | DEPENDS = "libnl libconfig readline" | ||
14 | |||
15 | SRCREV = "36d729de7ce5b56cf061d94d610cf0510154820c" | ||
16 | SRC_URI = "git://github.com/intel/openlldp.git;protocol=https;branch=master \ | ||
17 | file://0001-Fix-musl-libc-build-issue.patch \ | ||
18 | file://0001-autotools-Add-include-path-to-generated-version.h.patch \ | ||
19 | file://0001-autotools-Add-option-to-disable-installation-of-syst.patch \ | ||
20 | " | ||
21 | |||
22 | # Makefile.am adds -Werror to AM_CFLAGS. There are warnings so disable it. | ||
23 | TARGET_CFLAGS += "-Wno-error" | ||
24 | |||
25 | # Enable install of systemd conf files. | ||
26 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_system_unitdir}', '', d)}" | ||
27 | |||
28 | SYSTEMD_SERVICE_${PN} = "lldpad.service lldpad.socket" | ||
29 | |||
30 | # To enable service at boot set to enable in local.conf. | ||
31 | SYSTEMD_AUTO_ENABLE ?= "disable" | ||
32 | |||
33 | RRECOMMENDS_${PN} = "iproute2-tc" | ||