mirror of
https://github.com/LiBwrt/nss-packages.git
synced 2025-12-16 17:15:09 +00:00
nss-ecm: dynamically set frontend based on selection
Only build frontend based on selected acceleration engine. ECM can build frontends for NSS/SFE/PPE, but for now only include option for NSS. Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
a8d4f99c91
commit
022a11234e
@ -70,15 +70,17 @@ EXTRA_CFLAGS+= \
|
||||
-I$(STAGING_DIR)/usr/include/nat46
|
||||
|
||||
ifneq (, $(findstring $(CONFIG_TARGET_BOARD), "qualcommax" "ipq60xx"))
|
||||
ECM_MAKE_OPTS+=ECM_FRONT_END_NSS_ENABLE=y \
|
||||
ECM_FRONT_END_SFE_ENABLE=n \
|
||||
ECM_NON_PORTED_SUPPORT_ENABLE=y \
|
||||
ECM_MAKE_OPTS+= ECM_NON_PORTED_SUPPORT_ENABLE=y \
|
||||
ECM_INTERFACE_VLAN_ENABLE=y \
|
||||
ECM_CLASSIFIER_MARK_ENABLE=y \
|
||||
ECM_CLASSIFIER_DSCP_ENABLE=y \
|
||||
ECM_CLASSIFIER_PCC_ENABLE=n
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_PACKAGE_kmod-qca-nss-drv),)
|
||||
ECM_MAKE_OPTS+=ECM_FRONT_END_NSS_ENABLE=y
|
||||
endif
|
||||
|
||||
# Disable ECM IPv6 support when global IPv6 support is disabled.
|
||||
ifneq ($(CONFIG_IPV6),)
|
||||
ECM_MAKE_OPTS+=ECM_IPV6_ENABLE=y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user