Arunkumar T | b3de78b | 2016-10-14 19:42:06 +0530 | [diff] [blame] | 1 | ccflags-y := -Werror |
| 2 | ccflags-y += -I$(obj)/include |
Poddar,Sourav | 833f0e2 | 2016-10-26 00:59:08 +0530 | [diff] [blame^] | 3 | ccflags-y += -I$(obj)/../exports |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 4 | ccflags-y += -DNSS_NL_DEBUG_LEVEL=4 |
Ram Chandra Jangir | 842dab4 | 2016-05-18 23:06:14 +0530 | [diff] [blame] | 5 | ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)" |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 6 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 7 | ccflags-y += -DCONFIG_NSS_NLIPV4=1 |
mandrw | 6b93417 | 2016-01-14 18:45:01 +0530 | [diff] [blame] | 8 | ccflags-y += -DCONFIG_NSS_NLIPV6=1 |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 9 | ccflags-y += -DCONFIG_NSS_NLIPSEC=1 |
Sivanesan Rajapupathi | a74da77 | 2016-01-06 16:21:43 -0500 | [diff] [blame] | 10 | ccflags-y += -DCONFIG_NSS_NLOAM=1 |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 11 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 12 | qca-nss-netlink-objs := nss_nl.o |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 13 | qca-nss-netlink-objs += nss_nlipv4.o |
mandrw | 6b93417 | 2016-01-14 18:45:01 +0530 | [diff] [blame] | 14 | qca-nss-netlink-objs += nss_nlipv6.o |
mandrw | 960f2dd | 2015-07-08 12:55:02 +0530 | [diff] [blame] | 15 | qca-nss-netlink-objs += nss_nlipsec.o |
Sivanesan Rajapupathi | a74da77 | 2016-01-06 16:21:43 -0500 | [diff] [blame] | 16 | qca-nss-netlink-objs += nss_nloam.o |
Poddar,Sourav | 833f0e2 | 2016-10-26 00:59:08 +0530 | [diff] [blame^] | 17 | obj-m += qca-nss-netlink.o |
| 18 | |
| 19 | ifeq (ipq807x, $(findstring ipq807x, $(SoC))) |
| 20 | ccflags-y += -DCONFIG_NSS_NLCRYPTOV2=1 |
| 21 | qca-nss-netlink-objs += nss_nlcryptov2.o |
| 22 | else |
| 23 | ccflags-y += -DCONFIG_NSS_NLCRYPTO=1 |
| 24 | qca-nss-netlink-objs += nss_nlcrypto.o |
| 25 | endif |