f79d6640a3
With this new version, the generation of atom-glue fails with the following error: Making all in src/lib make[3]: Entering directory '/mnt/data/src/sfl/zodiac/buildroot/output/build/lldpd-0.9.4/src/lib' GEN atom-glue.c arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files compilation terminated. arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files compilation terminated. make[3]: *** [Makefile:899: atom-glue.c] Error 1 There is an upstream patch pushed after 0.9.4 which fixes the corresponding Makefile.am, included in this commit. Note that since the provided tarball ships the related Makefile.in file, we need to tell Buildroot to autoreconfigure the package. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> [Thomas: add comment about AUTORECONF=YES in .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# lldpd
|
|
#
|
|
################################################################################
|
|
|
|
LLDPD_VERSION = 0.9.4
|
|
LLDPD_SITE = http://media.luffy.cx/files/lldpd
|
|
LLDPD_DEPENDENCIES = host-pkgconf libevent
|
|
LLDPD_LICENSE = ISC
|
|
LLDPD_LICENSE_FILES = README.md
|
|
# 0001-build-make-generation-of-atom-glue-compatible-with-o.patch
|
|
LLDPD_AUTORECONF = YES
|
|
|
|
# Detection of c99 support in configure fails without WCHAR. To enable
|
|
# automatic detection of c99 support by configure, we need to enable
|
|
# WCHAR in toolchain. But actually we do not need WCHAR at lldpd
|
|
# runtime. So requesting WCHAR in toolchain just for automatic detection
|
|
# will be overkill. To solve this, explicitly -specify c99 here.
|
|
LLDPD_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
|
|
|
|
LLDPD_CONF_OPTS = \
|
|
--without-readline \
|
|
--without-embedded-libevent \
|
|
--without-snmp \
|
|
--without-xml \
|
|
--without-json \
|
|
--without-seccomp \
|
|
--disable-hardening \
|
|
--disable-privsep \
|
|
$(if $(BR2_PACKAGE_LLDPD_CDP),--enable-cdp,--disable-cdp) \
|
|
$(if $(BR2_PACKAGE_LLDPD_FDP),--enable-fdp,--disable-fdp) \
|
|
$(if $(BR2_PACKAGE_LLDPD_EDP),--enable-edp,--disable-edp) \
|
|
$(if $(BR2_PACKAGE_LLDPD_SONMP),--enable-sonmp,--disable-sonmp) \
|
|
$(if $(BR2_PACKAGE_LLDPD_LLDPMED),--enable-lldpmed,--disable-lldpmed) \
|
|
$(if $(BR2_PACKAGE_LLDPD_DOT1),--enable-dot1,--disable-dot1) \
|
|
$(if $(BR2_PACKAGE_LLDPD_DOT3),--enable-dot3,--disable-dot3) \
|
|
$(if $(BR2_PACKAGE_LLDPD_CUSTOM_TLV),--enable-custom,--disable-custom)
|
|
|
|
define LLDPD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/lldpd/S60lldpd \
|
|
$(TARGET_DIR)/etc/init.d/S60lldpd
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|