[linux-dvb] multiproto-tree: build fix for kernel output dir != kernel source dir

Reinhard Nissl rnissl at gmx.de
Tue Jan 8 22:11:30 CET 2008


Hi,

most distributions use separate kernel output directories to be
able to build several kernels from the same source tree.

Building the multiproto tree in such an environment fails either
as .config is not found or some kernel source files are not found
(i. e. compiler.h).

The attached patch therefore introduces SDIR which points to the
kernel sources and passes it as an additional argument to some
scripts which need to access .config or source files for example.

The patch is still incomplete i. e. not all references to kernel
source or output directories have been adapted and tested. But
the patch is sufficient for successfully running make and make
distclean in such an environment.

Would some developers with deeper knowledge about the kernel
build system comment whether my patch is going in the right
direction and how to solve other references (e. g. the lxdialog
stuff)?

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiproto-build_fix.diff
Type: text/x-patch
Size: 3842 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080108/c33f33dc/attachment-0001.bin 


More information about the linux-dvb mailing list