blob: fb015f75c74ec3adf8f16c626a93868fa002dedc [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
Ratheesh Kannothf4f26f42021-12-06 07:36:20 +053028ccflags-y += -Werror -Wall -Iexports/