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 |
| 8 | |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 9 | obj-m += qca-nss-sfe.o |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 10 | |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 11 | # |
| 12 | # Base files |
| 13 | # |
| 14 | qca-nss-sfe-objs := $(SFE_BASE_OBJS) |
| 15 | |
| 16 | # |
| 17 | # IPv4 files |
| 18 | # |
| 19 | qca-nss-sfe-objs += $(SFE_IPV4_OBJS) |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 20 | |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 21 | ifdef SFE_SUPPORT_IPV6 |
Ratheesh Kannoth | 6307bec | 2021-11-25 08:26:39 +0530 | [diff] [blame] | 22 | qca-nss-sfe-objs += $(SFE_IPV6_OBJS) |
Ratheesh Kannoth | 24fb1db | 2021-10-20 07:28:06 +0530 | [diff] [blame] | 23 | ccflags-y += -DSFE_SUPPORT_IPV6 |
| 24 | endif |
Suruchi Agarwal | 2f098c9 | 2021-09-21 16:16:38 -0700 | [diff] [blame] | 25 | |
Ratheesh Kannoth | f4f26f4 | 2021-12-06 07:36:20 +0530 | [diff] [blame] | 26 | ccflags-y += -Werror -Wall -Iexports/ |