mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-turboacc: tidy up Makefile (#7820)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
d7a7821cca
commit
4ab3a3db8f
@ -11,45 +11,45 @@ PKG_RELEASE:=$(COMMITCOUNT)
|
||||
PKG_LICENSE:=GPL-3.0-only
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_BBR_CCA \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_DNSFORWARDER \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_DNSPROXY \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_OFFLOADING \
|
||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE
|
||||
|
||||
LUCI_TITLE:=LuCI support for Flow Offload / Shortcut-FE
|
||||
LUCI_DEPENDS:=+pdnsd-alt \
|
||||
+PACKAGE_TURBOACC_INCLUDE_BBR_CCA:kmod-tcp-bbr \
|
||||
+PACKAGE_TURBOACC_INCLUDE_DNSFORWARDER:dnsforwarder \
|
||||
+PACKAGE_TURBOACC_INCLUDE_DNSPROXY:dnsproxy \
|
||||
+PACKAGE_TURBOACC_INCLUDE_OFFLOADING:kmod-ipt-offload \
|
||||
+PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE:kmod-fast-classifier
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+pdnsd-alt \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_BBR_CCA:kmod-tcp-bbr \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_DNSFORWARDER:dnsforwarder \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_DNSPROXY:dnsproxy \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_OFFLOADING:kmod-ipt-offload \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE:kmod-fast-classifier
|
||||
|
||||
define Package/luci-app-turboacc/config
|
||||
config PACKAGE_TURBOACC_INCLUDE_OFFLOADING
|
||||
define Package/$(PKG_NAME)/config
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_OFFLOADING
|
||||
bool "Include Flow Offload"
|
||||
depends on PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE=n
|
||||
depends on PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE=n
|
||||
default y if i386||x86_64||TARGET_ramips
|
||||
|
||||
config PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_SHORTCUT_FE
|
||||
bool "Include Shortcut-FE"
|
||||
default y if !(TARGET_ipq806x||TARGET_ipq807x||TARGET_ramips)
|
||||
|
||||
config PACKAGE_TURBOACC_INCLUDE_BBR_CCA
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_BBR_CCA
|
||||
bool "Include BBR CCA"
|
||||
default y
|
||||
|
||||
config PACKAGE_TURBOACC_INCLUDE_DNSFORWARDER
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_DNSFORWARDER
|
||||
bool "Include DNSForwarder"
|
||||
default n
|
||||
|
||||
config PACKAGE_TURBOACC_INCLUDE_DNSPROXY
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_DNSPROXY
|
||||
bool "Include DNSProxy"
|
||||
default n
|
||||
endef
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_TURBOACC_INCLUDE_BBR_CCA \
|
||||
CONFIG_PACKAGE_TURBOACC_INCLUDE_DNSFORWARDER \
|
||||
CONFIG_PACKAGE_TURBOACC_INCLUDE_DNSPROXY \
|
||||
CONFIG_PACKAGE_TURBOACC_INCLUDE_OFFLOADING \
|
||||
CONFIG_PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
Loading…
Reference in New Issue
Block a user