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

Reinhard Nissl rnissl at gmx.de
Sun Jan 20 22:39:23 CET 2008


Hi,

I'd really like to get some feedback from people who are used to
the build system.

Reinhard Nissl schrieb:

> 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/20080120/24e1e99b/attachment.bin 


More information about the linux-dvb mailing list