Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 1 | ########################################################################## |
| 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 Costa | f46c33b | 2014-05-15 10:02:00 -0500 | [diff] [blame] | 19 | obj-m += ecm.o |
| 20 | |
Hai Shalom | 81f4e20 | 2014-06-04 09:30:27 -0700 | [diff] [blame] | 21 | ecm-y := \ |
Gareth Williams | 8932a91 | 2014-06-11 18:06:25 -0700 | [diff] [blame] | 22 | ecm_classifier_dscp.o \ |
Nicolas Costa | f46c33b | 2014-05-15 10:02:00 -0500 | [diff] [blame] | 23 | ecm_classifier_nl.o \ |
| 24 | ecm_tracker_udp.o \ |
| 25 | ecm_tracker_tcp.o \ |
| 26 | ecm_tracker_datagram.o \ |
| 27 | ecm_tracker.o \ |
| 28 | ecm_front_end_ipv4.o \ |
| 29 | ecm_front_end_ipv6.o \ |
| 30 | ecm_db.o \ |
| 31 | ecm_classifier_default.o \ |
| 32 | ecm_conntrack_notifier.o \ |
| 33 | ecm_interface.o \ |
| 34 | ecm_bond_notifier.o \ |
| 35 | ecm_init.o |
Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 36 | |
Hai Shalom | 81f4e20 | 2014-06-04 09:30:27 -0700 | [diff] [blame] | 37 | # |
| 38 | # Define ECM_CLASSIFIER_HYFI_ENABLE=y in order to enable |
| 39 | # the Hy-Fi classifier in ECM. Currently disabled until |
| 40 | # the integration with Hy-Fi is completed. |
| 41 | # |
| 42 | ecm-$(ECM_CLASSIFIER_HYFI_ENABLE) += ecm_classifier_hyfi.o |
| 43 | |
Gareth Williams | 8932a91 | 2014-06-11 18:06:25 -0700 | [diff] [blame] | 44 | ccflags-y += -DECM_CLASSIFIER_DSCP_DEBUG_LEVEL=1 |
Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 45 | ccflags-y += -DECM_CLASSIFIER_HYFI_DEBUG_LEVEL=1 |
| 46 | ccflags-y += -DECM_CLASSIFIER_NL_DEBUG_LEVEL=1 |
| 47 | ccflags-y += -DECM_CLASSIFIER_DEFAULT_DEBUG_LEVEL=1 |
| 48 | ccflags-y += -DECM_DB_DEBUG_LEVEL=1 |
| 49 | ccflags-y += -DECM_FRONT_END_IPV4_DEBUG_LEVEL=1 |
| 50 | ccflags-y += -DECM_FRONT_END_IPV6_DEBUG_LEVEL=1 |
| 51 | ccflags-y += -DECM_CONNTRACK_NOTIFIER_DEBUG_LEVEL=1 |
| 52 | ccflags-y += -DECM_TRACKER_DEBUG_LEVEL=1 |
| 53 | ccflags-y += -DECM_TRACKER_DATAGRAM_DEBUG_LEVEL=1 |
| 54 | ccflags-y += -DECM_TRACKER_TCP_DEBUG_LEVEL=1 |
| 55 | ccflags-y += -DECM_TRACKER_UDP_DEBUG_LEVEL=1 |
| 56 | ccflags-y += -DECM_BOND_NOTIFIER_DEBUG_LEVEL=1 |
| 57 | ccflags-y += -DECM_INTERFACE_DEBUG_LEVEL=1 |
Hai Shalom | 81f4e20 | 2014-06-04 09:30:27 -0700 | [diff] [blame] | 58 | ccflags-$(ECM_CLASSIFIER_HYFI_ENABLE) += -DECM_CLASSIFIER_HYFI_ENABLE |
Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 59 | |
Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 60 | obj ?= . |
| 61 | |