.. | .. |
---|
1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
---|
2 | | -# Copyright (C) 2007-2018 B.A.T.M.A.N. contributors: |
---|
| 2 | +# Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: |
---|
3 | 3 | # |
---|
4 | 4 | # Marek Lindner, Simon Wunderlich |
---|
5 | | -# |
---|
6 | | -# This program is free software; you can redistribute it and/or |
---|
7 | | -# modify it under the terms of version 2 of the GNU General Public |
---|
8 | | -# License as published by the Free Software Foundation. |
---|
9 | | -# |
---|
10 | | -# This program is distributed in the hope that it will be useful, but |
---|
11 | | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | | -# General Public License for more details. |
---|
14 | | -# |
---|
15 | | -# You should have received a copy of the GNU General Public License |
---|
16 | | -# along with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
17 | | -# |
---|
18 | 5 | |
---|
19 | 6 | obj-$(CONFIG_BATMAN_ADV) += batman-adv.o |
---|
20 | 7 | batman-adv-y += bat_algo.o |
---|
.. | .. |
---|
41 | 28 | batman-adv-y += routing.o |
---|
42 | 29 | batman-adv-y += send.o |
---|
43 | 30 | batman-adv-y += soft-interface.o |
---|
44 | | -batman-adv-y += sysfs.o |
---|
| 31 | +batman-adv-$(CONFIG_BATMAN_ADV_SYSFS) += sysfs.o |
---|
| 32 | +batman-adv-$(CONFIG_BATMAN_ADV_TRACING) += trace.o |
---|
45 | 33 | batman-adv-y += tp_meter.o |
---|
46 | 34 | batman-adv-y += translation-table.o |
---|
47 | 35 | batman-adv-y += tvlv.o |
---|
| 36 | + |
---|
| 37 | +CFLAGS_trace.o := -I$(src) |
---|