blob: a685a655cc2b881fbf288eb0f7b3c429a9bd748f [file] [log] [blame]
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +05301#
2# Makefile for Shortcut FE.
3#
Suruchi Agarwal2f098c92021-09-21 16:16:38 -07004
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +05305SFE_BASE_OBJS := sfe.o sfe_init.o
6SFE_IPV4_OBJS := sfe_ipv4.o sfe_ipv4_udp.o sfe_ipv4_tcp.o sfe_ipv4_icmp.o
7SFE_IPV6_OBJS := sfe_ipv6.o sfe_ipv6_udp.o sfe_ipv6_tcp.o sfe_ipv6_icmp.o
8
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +05309obj-m += qca-nss-sfe.o
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070010
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +053011#
12# Base files
13#
14qca-nss-sfe-objs := $(SFE_BASE_OBJS)
15
16#
17# IPv4 files
18#
19qca-nss-sfe-objs += $(SFE_IPV4_OBJS)
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070020
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +053021ifdef SFE_SUPPORT_IPV6
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +053022qca-nss-sfe-objs += $(SFE_IPV6_OBJS)
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +053023ccflags-y += -DSFE_SUPPORT_IPV6
24endif
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070025
Ratheesh Kannothf4f26f42021-12-06 07:36:20 +053026ccflags-y += -Werror -Wall -Iexports/