blob: adc47c26f33954b3f61fc4540d24a4b7e94514b4 [file] [log] [blame]
Stephen Wang58aba232016-09-29 12:09:51 -07001ccflags-y := -I$(obj)/../exports -I$(obj)/.. -I$(obj)/nss_hal/include
2ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)"
3
4obj-m += qca-nss-vlan.o
5qca-nss-vlan-objs := nss_vlan_mgr.o
6
Suman Ghoshf24d3912018-08-17 20:44:19 +05307ifeq ($(SoC),$(filter $(SoC),ipq807x ipq807x_64 ipq60xx ipq60xx_64))
Stephen Wang58aba232016-09-29 12:09:51 -07008ccflags-y += -DNSS_VLAN_MGR_PPE_SUPPORT
9endif
10
11ccflags-y += -DNSS_VLAN_MGR_DEBUG_LEVEL=0
Ratheesh Kannoth40189802020-04-28 10:10:43 +053012ccflags-y += -Werror
13
Murat Sezgin83250472020-06-10 16:58:22 -070014ifneq (,$(filter $(CONFIG_BONDING),y m))
Ratheesh Kannothdb40a032020-05-22 13:54:29 +053015ccflags-y += -DBONDING_SUPPORT
Ratheesh Kannoth40189802020-04-28 10:10:43 +053016endif