firmware/src/packages/fff/fff-wireguard/Makefile
Fabian Bläse 649886223f fff-wireguard: Adapt for renamed OpenWrt wireguard packages
Because wireguard is part of the Linux kernel starting with version 5.6,
the wireguard packages have been renamed upstream.

Update our dependencies to match this.

This fixes build for the layer3 variant.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[add fix comment]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-06-20 20:01:18 +02:00

35 lines
669 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-wireguard
PKG_RELEASE:=7
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-babeld \
+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))