hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/batman-adv/Makefile
....@@ -1,20 +1,7 @@
11 # 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:
33 #
44 # 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
-#
185
196 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
207 batman-adv-y += bat_algo.o
....@@ -41,7 +28,10 @@
4128 batman-adv-y += routing.o
4229 batman-adv-y += send.o
4330 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
4533 batman-adv-y += tp_meter.o
4634 batman-adv-y += translation-table.o
4735 batman-adv-y += tvlv.o
36
+
37
+CFLAGS_trace.o := -I$(src)