lldpd: add Build/InstallDev rule
For using liblldpctl to talk to lldpd (via unix sockets). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 44924
This commit is contained in:
parent
35c52bc261
commit
1312cd9263
1 changed files with 8 additions and 0 deletions
|
@ -49,6 +49,14 @@ define Package/lldpd/description
|
||||||
Link-Layer notifications to adjacent network devices.
|
Link-Layer notifications to adjacent network devices.
|
||||||
endef
|
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
|
define Package/lldpd/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_DIR) $(1)/etc/lldpd.d
|
$(INSTALL_DIR) $(1)/etc/lldpd.d
|
||||||
|
|
Loading…
Reference in a new issue