On Mon, 26 Mar 2001 08:48:09 -0800,
David Hinds <dhinds@sonic.net> wrote:
>On Mon, Mar 26, 2001 at 05:14:13PM +1000, Keith Owens wrote:
>What are the things you're planning that will cause trouble?
Support for building third party drivers and patch sets as separate
source trees. Base kernel in in one source tree, external patch or
driver set is in another source tree, kbuild reads from multiple source
trees and writes to a separate object directory. The multiple source
trees break the assumption that all source is in one tree, lines like
#include <../drivers/scsi/aic7xxx.h>
do not work with multiple sources.
You are right about the long compile lines though, example with three
source trees, reflowed for readability.
/usr/bin/kgcc -I /build/kaos/2.4.1-object-kdb/arch/i386/kernel/
-I /build/kaos/kdb/arch/i386/kernel/
-I /build/kaos/common/arch/i386/kernel/
-I /build/kaos/2.4.1-makefile-2.5/arch/i386/kernel/ -I-
-D__ASSEMBLY__ -D__KERNEL__ -I include -I .tmp_include/src_002
-I .tmp_include/src_001 -I .tmp_include/src_000 -traditional -c
-o arch/i386/kernel/trampoline.o
/build/kaos/2.4.1-makefile-2.5/arch/i386/kernel/trampoline.S
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:14 EST