blob: 792da0eb4810b6ffb01283d86d2f84582a8fece1 [file] [log] [blame]
# Makefile for the ipsecmgr client
ccflags-y := -I$(obj) -I$(obj)/..
ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)"
ccflags-y += -Werror
ifeq ($(SoC), fsm9010)
ccflags-y += -DNSS_IPSECMGR_PMTU_SUPPORT
endif
obj-m += qca-nss-ipsecmgr.o
qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
qca-nss-ipsecmgr-objs += nss_ipsecmgr_flow.o
qca-nss-ipsecmgr-objs += nss_ipsecmgr_sa.o
qca-nss-ipsecmgr-objs += nss_ipsecmgr_subnet.o
ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
ifeq (ipq807x, $(findstring ipq807x, $(SoC)))
ccflags-y += -DNSS_IPSECMGR_IPQ807X_SUPPORT
endif
obj ?= .