On Thursday 24 November 2011 21:01:21 Marek Lindner wrote:
Hi,
I looked at the new patches from ordex and thought about using the Makefile from the kernel as the Makefile.kbuild in the standalone distribution. The Makefile is only the user friendly compatibility layer over the kbuild stuff.
I thought the main idea behind this separation was to have one Makefile for the kernel folks and one for the out-of-tree users ? Are they going to accept a single Makefile which contains more than what is needed for in-kernel development ?
What?
I moved the kernel's Makefile the standalone version and called it Makefile.kbuild... a 1:1 copy and not some kind of "a little bit like the other thing from the standalone repos". Maybe you already noticed that this thing is one reason for the merge conflicts which need additional work to get it into the kernel. So the concept would be:
* Makefile.kbuild == the thing called Makefile in the kernel under net/batman-adv/ * Makefile == the thing which does the magic things to get a "good" user experience and the compatibility stuff
I would be even happier when we also could remove the '#include "compat.h"' from main.h somehow, but I had no good (and working) idea.
Kind regards, Sven