This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the value was never useful for Gluon packages; instead, PKG_VERSION is set to 1 in gluon.mk. It also removes two other weird definitions: - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic from gluon-core, but without the fixed PKG_BUILD_DIR to prevent unnessary rebuilds - gluon-hoodselector set GLUON_VERSION=3
		
			
				
	
	
		
			24 lines
		
	
	
		
			539 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			539 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include $(TOPDIR)/rules.mk
 | |
| 
 | |
| PKG_NAME:=gluon-radv-filterd
 | |
| 
 | |
| include ../gluon.mk
 | |
| 
 | |
| define Package/gluon-radv-filterd
 | |
|   TITLE:=Filter IPv6 router advertisements
 | |
|   DEPENDS:=+gluon-ebtables +libgluonutil +libbatadv +libnl-tiny
 | |
| endef
 | |
| 
 | |
| MAKE_VARS += \
 | |
|         LIBNL_NAME="libnl-tiny" \
 | |
|         LIBNL_GENL_NAME="libnl-tiny"
 | |
| 
 | |
| define Package/gluon-radv-filterd/install
 | |
| 	$(Gluon/Build/Install)
 | |
| 
 | |
| 	$(INSTALL_DIR) $(1)/usr/sbin/
 | |
| 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/gluon-radv-filterd $(1)/usr/sbin/
 | |
| endef
 | |
| 
 | |
| $(eval $(call BuildPackageGluon,gluon-radv-filterd))
 |