Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Shortcut FE. |
| 3 | # |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 4 | |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 5 | SFE_BASE_OBJS := sfe.o sfe_init.o |
| 6 | SFE_IPV4_OBJS := sfe_ipv4.o sfe_ipv4_udp.o sfe_ipv4_tcp.o sfe_ipv4_icmp.o |
| 7 | SFE_IPV6_OBJS := sfe_ipv6.o sfe_ipv6_udp.o sfe_ipv6_tcp.o sfe_ipv6_icmp.o |
Guduri Prathyusha | 79a5fee | 2021-11-11 17:59:10 +0530 | [diff] [blame] | 8 | SFE_PPPOE_OBJS := sfe_pppoe.o |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 9 | |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 10 | obj-m += qca-nss-sfe.o |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 11 | |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 12 | # |
| 13 | # Base files |
| 14 | # |
| 15 | qca-nss-sfe-objs := $(SFE_BASE_OBJS) |
| 16 | |
| 17 | # |
| 18 | # IPv4 files |
| 19 | # |
| 20 | qca-nss-sfe-objs += $(SFE_IPV4_OBJS) |
Guduri Prathyusha | 79a5fee | 2021-11-11 17:59:10 +0530 | [diff] [blame] | 21 | qca-nss-sfe-objs += $(SFE_PPPOE_OBJS) |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 22 | |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 23 | ifdef SFE_SUPPORT_IPV6 |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 24 | qca-nss-sfe-objs += $(SFE_IPV6_OBJS) |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 25 | ccflags-y += -DSFE_SUPPORT_IPV6 |
| 26 | endif |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 27 | |
Amitesh Anand | 63be37d | 2021-12-24 20:51:48 +0530 | [diff] [blame] | 28 | ifdef SFE_PROCESS_LOCAL_OUT |
| 29 | ccflags-y += -DSFE_PROCESS_LOCAL_OUT |
| 30 | endif |
Ratheesh Kannoth | f4f26f4 | 2021-12-06 07:36:20 +0530 | [diff] [blame] | 31 | ccflags-y += -Werror -Wall -Iexports/ |