diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-21 21:47:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-21 21:47:34 +0000 |
commit | 9d0ccf37a024107e420e5141979431b7c4412ea8 (patch) | |
tree | bbe9ac5f3fe53e530568dbfe7ae8536b1ac351b7 | |
parent | 6a44e4ebac998e12bab9a3f1a3192f003dc6eb1c (diff) | |
download | upstream-9d0ccf37a024107e420e5141979431b7c4412ea8.tar.gz upstream-9d0ccf37a024107e420e5141979431b7c4412ea8.tar.bz2 upstream-9d0ccf37a024107e420e5141979431b7c4412ea8.zip |
lldpd: add Build/InstallDev rule
For using liblldpctl to talk to lldpd (via unix sockets).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44924 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/network/services/lldpd/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
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 |