build olsrd bmf plugin (patch by alx)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Apr 2007 13:08:05 +0000 (13:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Apr 2007 13:08:05 +0000 (13:08 +0000)
SVN-Revision: 7064

net/olsrd/Makefile

index b3436ce0cad7ff2f1ebb4e9397ebedeb210a12d0..565823fc19ce87fa1bb5fee4d040e450370e2695 100644 (file)
@@ -41,6 +41,13 @@ define Package/olsrd-mod-dot-draw
   MENU:=0
 endef
 
+define Package/olsrd-mod-bmf
+  $(call Package/olsrd)
+  DEPENDS:=olsrd libpthread kmod-tun
+  TITLE:=Basic multicast forwarding plugin
+  MENU:=0
+endef
+
 define Package/olsrd-mod-dyn-gw
   $(call Package/olsrd)
   DEPENDS:=olsrd
@@ -114,6 +121,11 @@ define Package/olsrd-mod-dot-draw/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_dot_draw.so.* $(1)/usr/lib/
 endef
 
+define Package/olsrd-mod-bmf/install
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_bmf.so.* $(1)/usr/lib/
+endef
+
 define Package/olsrd-mod-dyn-gw/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_dyn_gw.so.* $(1)/usr/lib/
@@ -144,6 +156,7 @@ endef
 
 $(eval $(call BuildPackage,olsrd))
 $(eval $(call BuildPackage,olsrd-mod-dot-draw))
+$(eval $(call BuildPackage,olsrd-mod-bmf))
 $(eval $(call BuildPackage,olsrd-mod-dyn-gw))
 $(eval $(call BuildPackage,olsrd-mod-httpinfo))
 $(eval $(call BuildPackage,olsrd-mod-nameservice))