[Olsr-dev] change to olsr_rt_flags() function in BSD but not Linux in stable branch
Fri Apr 6 16:05:38 CEST 2012
On Apr 6, 2012, at 3:41 AM, Markus Kittenberger wrote:
> On Fri, Apr 6, 2012 at 9:03 AM, Ferry Huberts <(spam-protected)>
> I agree.
> 2.4 is _completely_ ancient and not worth the effort to maintain.
> btw its not about 2.4!
> (which olsrd definetley gets maintaned/tested/used on) as there are still hundreds of router i know of running with 2.4
> as netlink is around since 2.2!!!!
> so for dropping ioctl we where talking about much older linux than 2.4 (-;
While we are at it, I'd like to suggest explicitly listing the files to be built in the Linux Makefile rather than using a wildcard. A build system is there to make sure the build is repeatable and reliable. The presence or absence of any given file needed for olsrd is something that the build system should be aware of. The only way I know to do that is to list out the files that the build system should be aware of. Something like this:
@@ -6,8 +6,14 @@ ARCH := $(shell uname -m)
LIBDIR = $(DESTDIR)/usr/lib
-SRCS += $(wildcard src/linux/*.c src/unix/*.c)
-HDRS += $(wildcard src/linux/*.h src/unix/*.h)
+SRCS += src/linux/apm.c \
+ src/linux/kernel_routes_nl.c \
+ src/linux/kernel_tunnel.c \
+ src/linux/link_layer.c \
+ src/linux/net.c \
+ src/unix/ifnet.c \
+ src/unix/log.c \
CPPFLAGS += -Dlinux -DLINUX_NETLINK_ROUTING
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Olsr-dev