summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/Makefile
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2019-03-03 18:02:57 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2019-03-25 10:01:11 +0100
commit0fa4c30d710d7e646688073339312dabc58d89a2 (patch)
tree62adc48c8c76c2bd9e2be981a95bc734f2e8a149 /net/batman-adv/Makefile
parent52735a6f0bd2593d681001ded2f7fbbee168a235 (diff)
downloadlinux-0fa4c30d710d7e646688073339312dabc58d89a2.tar.bz2
batman-adv: Make sysfs support optional
The sysfs files will be marked as deprecated in the near future. They are already replaced by the batadv generic netlink family. Add an Kconfig option to disable the sysfs support for users who want to test their tools or want to safe some space. This setting should currently still be enabled by default to keep backward compatible with legacy tools. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/Makefile')
-rw-r--r--net/batman-adv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/Makefile b/net/batman-adv/Makefile
index 1bf7acfea17a..fd63e116d9ff 100644
--- a/net/batman-adv/Makefile
+++ b/net/batman-adv/Makefile
@@ -28,7 +28,7 @@ batman-adv-y += originator.o
batman-adv-y += routing.o
batman-adv-y += send.o
batman-adv-y += soft-interface.o
-batman-adv-y += sysfs.o
+batman-adv-$(CONFIG_BATMAN_ADV_SYSFS) += sysfs.o
batman-adv-$(CONFIG_BATMAN_ADV_TRACING) += trace.o
batman-adv-y += tp_meter.o
batman-adv-y += translation-table.o