Stephen Wang | 58aba23 | 2016-09-29 12:09:51 -0700 | [diff] [blame] | 1 | ccflags-y := -I$(obj)/../exports -I$(obj)/.. -I$(obj)/nss_hal/include |
| 2 | ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)" |
| 3 | |
| 4 | obj-m += qca-nss-vlan.o |
| 5 | qca-nss-vlan-objs := nss_vlan_mgr.o |
| 6 | |
Suman Ghosh | f24d391 | 2018-08-17 20:44:19 +0530 | [diff] [blame] | 7 | ifeq ($(SoC),$(filter $(SoC),ipq807x ipq807x_64 ipq60xx ipq60xx_64)) |
Stephen Wang | 58aba23 | 2016-09-29 12:09:51 -0700 | [diff] [blame] | 8 | ccflags-y += -DNSS_VLAN_MGR_PPE_SUPPORT |
| 9 | endif |
| 10 | |
| 11 | ccflags-y += -DNSS_VLAN_MGR_DEBUG_LEVEL=0 |
Ratheesh Kannoth | 4018980 | 2020-04-28 10:10:43 +0530 | [diff] [blame] | 12 | ccflags-y += -Werror |
| 13 | |
Murat Sezgin | 8325047 | 2020-06-10 16:58:22 -0700 | [diff] [blame] | 14 | ifneq (,$(filter $(CONFIG_BONDING),y m)) |
Ratheesh Kannoth | db40a03 | 2020-05-22 13:54:29 +0530 | [diff] [blame] | 15 | ccflags-y += -DBONDING_SUPPORT |
Ratheesh Kannoth | 4018980 | 2020-04-28 10:10:43 +0530 | [diff] [blame] | 16 | endif |