From: John Crispin Date: Sat, 21 Mar 2015 21:47:34 +0000 (+0000) Subject: lldpd: add Build/InstallDev rule X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=732db421325cb448ed25013910e612e766b0a1db lldpd: add Build/InstallDev rule For using liblldpctl to talk to lldpd (via unix sockets). Signed-off-by: Alexandru Ardelean SVN-Revision: 44924 --- diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index f038a340ac..ff367f1c3e 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -49,6 +49,14 @@ define Package/lldpd/description Link-Layer notifications to adjacent network devices. endef +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblldpctl.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/lldpctl.h $(1)/usr/include/lldpctl.h + $(CP) $(PKG_INSTALL_DIR)/usr/include/lldp-const.h $(1)/usr/include/lldp-const.h +endef + define Package/lldpd/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/lldpd.d