Move ebtables rules dealing with bat0 to gluon-next-node-batman-adv. This new package should be used in batman-adv based setups instead of gluon-next-node.
		
			
				
	
	
		
			41 lines
		
	
	
		
			759 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			759 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=gluon-next-node
 | 
						|
PKG_VERSION:=3
 | 
						|
 | 
						|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 | 
						|
 | 
						|
include $(GLUONDIR)/include/package.mk
 | 
						|
 | 
						|
define Package/gluon-next-node
 | 
						|
  SECTION:=gluon
 | 
						|
  CATEGORY:=Gluon
 | 
						|
  TITLE:=Next-node anycast address
 | 
						|
  DEPENDS:=+gluon-core +gluon-ebtables +kmod-macvlan
 | 
						|
endef
 | 
						|
 | 
						|
define Package/gluon-next-node/description
 | 
						|
	Gluon community wifi mesh firmware framework: next-node anycast address
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Prepare
 | 
						|
	mkdir -p $(PKG_BUILD_DIR)
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Configure
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Compile
 | 
						|
endef
 | 
						|
 | 
						|
define Package/gluon-next-node/install
 | 
						|
	$(CP) ./files/* $(1)/
 | 
						|
endef
 | 
						|
 | 
						|
define Package/gluon-next-node/postinst
 | 
						|
#!/bin/sh
 | 
						|
$(call GluonCheckSite,check_site.lua)
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackage,gluon-next-node))
 |