AmadeusGhost 425f526e07
luci-app-turboacc: update dependencies of shortcut-fe
No need to specifically select the noload version.
Fixes: 4201dbd ("Package Lean: Cleanup Makefile")

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-02-02 21:25:59 +08:00

50 lines
1.3 KiB
Makefile

# Copyright (C) 2016 Openwrt.org
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-turboacc
PKG_VERSION:=1.0
PKG_RELEASE:=2
PKG_LICENSE:=GPLv3.0+
LUCI_TITLE:=LuCI support for Flow Offload / Shortcut-FE
LUCI_DEPENDS:=+pdnsd-alt \
+PACKAGE_$(PKG_NAME)_INCLUDE_shortcut-fe:kmod-fast-classifier \
+PACKAGE_$(PKG_NAME)_INCLUDE_flow-offload:kmod-ipt-offload \
+PACKAGE_$(PKG_NAME)_INCLUDE_bbr-cca:kmod-tcp-bbr \
+PACKAGE_$(PKG_NAME)_INCLUDE_dnsforwarder:dnsforwarder
LUCI_PKGARCH:=all
define Package/$(PKG_NAME)/config
config PACKAGE_$(PKG_NAME)_INCLUDE_flow-offload
bool "Include Flow Offload"
depends on PACKAGE_$(PKG_NAME)_INCLUDE_shortcut-fe=n
default y
config PACKAGE_$(PKG_NAME)_INCLUDE_shortcut-fe
bool "Include Shortcut-FE"
default n
config PACKAGE_$(PKG_NAME)_INCLUDE_bbr-cca
bool "Include BBR CCA"
default y
config PACKAGE_$(PKG_NAME)_INCLUDE_dnsforwarder
bool "Include DNSForwarder"
default n
endef
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_shortcut-fe \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_flow-offload \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_bbr-cca \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_dnsforwarder
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature