blob: 37209401ea7e3d7cf62db5342dc34b737e930f20 [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
Guduri Prathyusha79a5fee2021-11-11 17:59:10 +05308SFE_PPPOE_OBJS := sfe_pppoe.o
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +05309
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +053010obj-m += qca-nss-sfe.o
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070011
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +053012#
13# Base files
14#
15qca-nss-sfe-objs := $(SFE_BASE_OBJS)
16
17#
18# IPv4 files
19#
20qca-nss-sfe-objs += $(SFE_IPV4_OBJS)
Guduri Prathyusha79a5fee2021-11-11 17:59:10 +053021qca-nss-sfe-objs += $(SFE_PPPOE_OBJS)
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070022
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +053023ifdef SFE_SUPPORT_IPV6
Ratheesh Kannoth6307bec2021-11-25 08:26:39 +053024qca-nss-sfe-objs += $(SFE_IPV6_OBJS)
Ratheesh Kannoth24fb1db2021-10-20 07:28:06 +053025ccflags-y += -DSFE_SUPPORT_IPV6
26endif
Suruchi Agarwal2f098c92021-09-21 16:16:38 -070027
Amitesh Anand63be37d2021-12-24 20:51:48 +053028ifdef SFE_PROCESS_LOCAL_OUT
29ccflags-y += -DSFE_PROCESS_LOCAL_OUT
30endif
Ratheesh Kannothf4f26f42021-12-06 07:36:20 +053031ccflags-y += -Werror -Wall -Iexports/