firmware/src/packages/fff/fff-wireguard/Makefile
Fabian Bläse 71d137d4f1 Add support for different babel implementations
To be able to swap out babeld for a different babel implementation in
the future, this splits all fff-specific configuration into a seperate
fff-babel package.

Implementation specific configuration is done in
/lib/functions/fff/babeldaemon, which is included with every selectable
babel implementation. It contains functions, which are called by the
fff-specific code, and therefore allows to configure the implementation
specific parts.

The babel implementation is provided by implementation-specific
fff-packages, which provide 'fff-babel-implementation'. At the moment,
only fff-babeld is supported for use as babel implementation.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
2022-03-23 19:46:30 +01:00

35 lines
681 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-wireguard
PKG_RELEASE:=$(COMMITCOUNT)
include $(INCLUDE_DIR)/package.mk
define Package/fff-wireguard
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken wireguard
URL:=https://www.freifunk-franken.de
DEPENDS:= \
+kmod-wireguard \
+owipcalc \
+wireguard-tools \
+fff-babel \
+fff-network
endef
define Package/fff-wireguard/description
This is the Freifunk Franken Firmware wireguard package.
This package provides configuration scripts for wireguard tunnels.
endef
define Build/Compile
# nothing
endef
define Package/fff-wireguard/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-wireguard))