firmware/src/packages/fff/fff-network/Makefile
Fabian Bläse fb00f1d86c fff-network: Remove sysctls that depend on disabled kernel features
Some sysctls currently are completely useless, as they only exist if
specific kernel configurations are enabled, which we have not.

To hide the error message and prevent them from interfering
unintentionally, if new kernel configurations are activated in the
future, they are removed.

Fixes: #42 (gitea)

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <freifunk@dresel.systems>
2021-01-28 09:12:44 +01:00

32 lines
624 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-network
PKG_RELEASE:=27
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken network configuration
URL:=http://www.freifunk-franken.de
DEPENDS:=+fff-boardname +fff-firewall
endef
define Package/$(PKG_NAME)/description
This package configures the network interfaces
endef
define Build/Compile
# nothing
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
test -d ./$(ARCH) && $(CP) ./$(ARCH)/* $(1)/etc/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))