summaryrefslogtreecommitdiff
path: root/net/batman-adv/Makefile
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2012-01-22 23:00:27 +0400
committerAntonio Quartulli <ordex@autistici.org>2012-04-11 16:29:00 +0400
commit7a5cc24277b57ce38eb0afa6634b71d4d5cc671e (patch)
tree80c25d21e96381269087cf628a4756101c6029c8 /net/batman-adv/Makefile
parent38ef3d1d919e6a47c3e0d38b3d788aa468a7ede8 (diff)
downloadlinux-7a5cc24277b57ce38eb0afa6634b71d4d5cc671e.tar.xz
batman-adv: add bridge loop avoidance compile option
The define CONFIG_BATMAN_ADV_BLA switches the bridge loop avoidance on - skip it, and the bridge loop avoidance is not compiled in. This is useful if binary size should be saved or the feature is not needed. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
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 94b67fd81bf7..6d5c1940667d 100644
--- a/net/batman-adv/Makefile
+++ b/net/batman-adv/Makefile
@@ -23,7 +23,7 @@ batman-adv-y += bat_debugfs.o
batman-adv-y += bat_iv_ogm.o
batman-adv-y += bat_sysfs.o
batman-adv-y += bitarray.o
-batman-adv-y += bridge_loop_avoidance.o
+batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
batman-adv-y += gateway_client.o
batman-adv-y += gateway_common.o
batman-adv-y += hard-interface.o