summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/Makefile
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-05-15 11:07:44 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2016-06-30 10:29:43 +0200
commit01d350d14712d1e8dbf2b00c82d2fc7c48d34e04 (patch)
tree0d96722cd01fd8a955d378d8f0464ee12253f957 /net/batman-adv/Makefile
parent1f8dce4992d03fc15cfbaf67cd09f0d1648c4606 (diff)
downloadop-kernel-dev-01d350d14712d1e8dbf2b00c82d2fc7c48d34e04.zip
op-kernel-dev-01d350d14712d1e8dbf2b00c82d2fc7c48d34e04.tar.gz
batman-adv: move bat_algo functions into a separate file
The bat_algo functionality in main.c is mostly unrelated to the rest of the content. It still takes up a large portion of this source file (~15%, 103 lines). Moving it to a separate file makes it better visible as a main component of the batman-adv implementation and hides it less in the other helper functions in main.c. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/Makefile')
-rw-r--r--net/batman-adv/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/Makefile b/net/batman-adv/Makefile
index 5c6ece0..5260c17 100644
--- a/net/batman-adv/Makefile
+++ b/net/batman-adv/Makefile
@@ -17,6 +17,7 @@
#
obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
+batman-adv-y += bat_algo.o
batman-adv-y += bat_iv_ogm.o
batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_elp.o
OpenPOWER on IntegriCloud