Stephen Wang | 0944222 | 2016-08-23 21:00:58 -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)" |
Bhaskar Valaboju | 3f08ac8 | 2019-09-11 19:04:49 +0530 | [diff] [blame^] | 3 | ccflags-$(NSS_BRIDGE_MGR_OVS_ENABLE) += -DNSS_BRIDGE_MGR_OVS_ENABLE |
Stephen Wang | 0944222 | 2016-08-23 21:00:58 -0700 | [diff] [blame] | 4 | |
| 5 | obj-m += qca-nss-bridge-mgr.o |
| 6 | qca-nss-bridge-mgr-objs := nss_bridge_mgr.o |
Bhaskar Valaboju | 3f08ac8 | 2019-09-11 19:04:49 +0530 | [diff] [blame^] | 7 | ifeq ($(NSS_BRIDGE_MGR_OVS_ENABLE), y) |
| 8 | qca-nss-bridge-mgr-objs += nss_bridge_mgr_ovs.o |
| 9 | endif |
Stephen Wang | 0944222 | 2016-08-23 21:00:58 -0700 | [diff] [blame] | 10 | |
| 11 | ccflags-y += -DNSS_BRIDGE_MGR_DEBUG_LEVEL=0 |
Gaurao Chaudhari | 767b677 | 2019-01-28 14:46:29 -0800 | [diff] [blame] | 12 | ccflags-y += -Werror |
Yu Huang | 8ccd6d6 | 2016-10-05 14:57:47 -0700 | [diff] [blame] | 13 | |
Suman Ghosh | f24d391 | 2018-08-17 20:44:19 +0530 | [diff] [blame] | 14 | ifeq ($(SoC),$(filter $(SoC),ipq807x ipq807x_64 ipq60xx ipq60xx_64)) |
Yu Huang | 8ccd6d6 | 2016-10-05 14:57:47 -0700 | [diff] [blame] | 15 | ccflags-y += -DNSS_BRIDGE_MGR_PPE_SUPPORT |
| 16 | endif |
| 17 | |