The following commit has been merged in the master branch: commit 33a5773ab39a089870667634e08ce98fad1a2fd1 Author: elektra <elektra@eee.(none)> Date: Thu Apr 7 20:55:39 2011 +0200
Added a explanation to the Makefile options to the INSTALL file.
diff --git a/INSTALL b/INSTALL index a4fa559..58be950 100644 --- a/INSTALL +++ b/INSTALL @@ -20,6 +20,43 @@ make targets are still available but will most probably not work. If you're interested in porting and maintaining B.A.T.M.A.N. for these systems, please contact us. We would appreciate your help.
+Tweaking +-------- + +You can tweak the program requirements by editing the Makefile. + + +Getting rid of the policy-routing requirement in the Linux kernel: + +By default batmand requires policy-routing to be enabled in the Linux +kernel. On many embedded devices this can be an obstacle if you want to get batmand +running, because it requires to install a different kernel. + +Remove the comment hash (#) leading this line in the Makefile: +#NO_POLICY_ROUTING = -DNO_POLICY_ROUTING + + +Reducing the batmand daemon size: + +In case you don't need debug output levels greater than 2 (debug level 1 +shows originators, debug level 2 shows Internet gateways), add a +comment hash leading this line in the Makefile: + +DEBUG_GREATER_2 = -DDEBUG + +This will skip tons of debug information from the binary and save about 8 KB. + + +Disable the easter-egg. The developers thought it would be fancy to have a +easter-egg. If you are bartering for every single byte of binary size, you +can disable it as well. Add a hash to this line: + +ENABLE_EASTEREGG = -DEASTEREGG + +This will save another 4 KB. + + + Compiling ---------