blob: 9c2ec4ac646e2b1f772e382acd5b4261796343ec [file] [log] [blame]
Ben Menchaca84f36632014-02-28 20:57:38 +00001##########################################################################
2# Copyright (c) 2014, The Linux Foundation. All rights reserved.
3# Permission to use, copy, modify, and/or distribute this software for
4# any purpose with or without fee is hereby granted, provided that the
5# above copyright notice and this permission notice appear in all copies.
6# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
7# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
9# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
10# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
11# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
12# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
13##########################################################################
14
15# ###################################################
16# Makefile for the QCA NSS ECM
17# ###################################################
18
Nicolas Costaf46c33b2014-05-15 10:02:00 -050019obj-m += ecm.o
20
21ecm-y := ecm_classifier_hyfi.o \
22 ecm_classifier_nl.o \
23 ecm_tracker_udp.o \
24 ecm_tracker_tcp.o \
25 ecm_tracker_datagram.o \
26 ecm_tracker.o \
27 ecm_front_end_ipv4.o \
28 ecm_front_end_ipv6.o \
29 ecm_db.o \
30 ecm_classifier_default.o \
31 ecm_conntrack_notifier.o \
32 ecm_interface.o \
33 ecm_bond_notifier.o \
34 ecm_init.o
Ben Menchaca84f36632014-02-28 20:57:38 +000035
36ccflags-y += -DECM_CLASSIFIER_HYFI_DEBUG_LEVEL=1
37ccflags-y += -DECM_CLASSIFIER_NL_DEBUG_LEVEL=1
38ccflags-y += -DECM_CLASSIFIER_DEFAULT_DEBUG_LEVEL=1
39ccflags-y += -DECM_DB_DEBUG_LEVEL=1
40ccflags-y += -DECM_FRONT_END_IPV4_DEBUG_LEVEL=1
41ccflags-y += -DECM_FRONT_END_IPV6_DEBUG_LEVEL=1
42ccflags-y += -DECM_CONNTRACK_NOTIFIER_DEBUG_LEVEL=1
43ccflags-y += -DECM_TRACKER_DEBUG_LEVEL=1
44ccflags-y += -DECM_TRACKER_DATAGRAM_DEBUG_LEVEL=1
45ccflags-y += -DECM_TRACKER_TCP_DEBUG_LEVEL=1
46ccflags-y += -DECM_TRACKER_UDP_DEBUG_LEVEL=1
47ccflags-y += -DECM_BOND_NOTIFIER_DEBUG_LEVEL=1
48ccflags-y += -DECM_INTERFACE_DEBUG_LEVEL=1
49
50#
51# Include paths added for bridge and NSS header files
52#
53ccflags-y += -I$(TOPDIR)/qca/src/linux/net/bridge
54ccflags-y += -I$(TOPDIR)/qca/src/qca-nss-drv
55ccflags-y += -I$(TOPDIR)/qca/src/qca-hyfi-bridge/hyfi-netfilter
56
57obj ?= .
58