batman-adv: enable B.A.T.M.A.N. V compilation by default

Message ID 20180512222403.4624-1-mareklindner@neomailbox.ch (mailing list archive)
State Superseded, archived
Delegated to: Simon Wunderlich
Headers
Series batman-adv: enable B.A.T.M.A.N. V compilation by default |

Commit Message

Marek Lindner May 12, 2018, 10:24 p.m. UTC
  Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 Makefile               | 2 +-
 net/batman-adv/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Antonio Quartulli May 12, 2018, 10:28 p.m. UTC | #1
On 13/05/18 06:24, Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>

Acked-by: Antonio Quartulli <a@unstable.cc>


Once this change will make its way through the openwrt-routing feed,
people will finally be able to enable BATMAN_V without recompiling the
batman-adv package!


Cheers,
  
Sven Eckelmann May 13, 2018, 6:55 a.m. UTC | #2
On Sonntag, 13. Mai 2018 00:24:03 CEST Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
>  Makefile               | 2 +-
>  net/batman-adv/Kconfig | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Please change all relevant files:

* Makefile
* README.external.rst
* gen-compat-autoconf.sh
* net/batman-adv/Kconfig

Kind regards,
	Sven
  

Patch

diff --git a/Makefile b/Makefile
index de607ad9..ea995216 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@  export CONFIG_BATMAN_ADV_NC=n
 # B.A.T.M.A.N. multicast optimizations:
 export CONFIG_BATMAN_ADV_MCAST=y
 # B.A.T.M.A.N. V routing algorithm (experimental):
-export CONFIG_BATMAN_ADV_BATMAN_V=n
+export CONFIG_BATMAN_ADV_BATMAN_V=y
 
 PWD:=$(shell pwd)
 BUILD_DIR=$(PWD)/build
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig
index bee034a9..de8034d8 100644
--- a/net/batman-adv/Kconfig
+++ b/net/batman-adv/Kconfig
@@ -35,7 +35,7 @@  config BATMAN_ADV
 config BATMAN_ADV_BATMAN_V
 	bool "B.A.T.M.A.N. V protocol (experimental)"
 	depends on BATMAN_ADV && !(CFG80211=m && BATMAN_ADV=y)
-	default n
+	default y
 	help
 	  This option enables the B.A.T.M.A.N. V protocol, the successor
 	  of the currently used B.A.T.M.A.N. IV protocol. The main