firmware/src/packages/fff/fff-layer3-config/Makefile
Adrian Schmutzler 6ff350fcf9 fff-network: wrap CPUPORT into a function
Instead of exposing the CPUPORT variable to the calling script
directly, wrap it into a function which can be called there.

Fixes: #52 (gitea)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2021-02-09 22:38:55 +01:00

33 lines
628 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-layer3-config
PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk
define Package/fff-layer3-config
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Layer3 firmware configuration tools
URL:=https://www.freifunk-franken.de
DEPENDS:= \
+fff-boardname \
+fff-config \
+fff-dhcp \
+fff-network
endef
define Package/fff-layer3-config/description
This package provides the means for configuring the gateway
endef
define Build/Compile
# nothing
endef
define Package/fff-layer3-config/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-layer3-config))