List Info

Thread: Re: Dynamically created kernel .c files




Re: Dynamically created kernel .c files
country flaguser name
United States
2007-06-02 12:42:05
In article <20070602113152.GM3723snowdrop.l8s.co.uk>,
David Laight  <davidl8s.co.uk> wrote:
>I've been wondering if there is an easy way to
dynamically create
>.c files for the kernel build?
>
>In particular compat/svr4/svr4_stream.c can be created
from
>compat/svr4_32/svr4_32_stream.c with a 'simple' sed
command, and it
>seems rather a shame to have to keep two 2000 line files
in sync.
>
>The makefile rule would be easy, but where would it be
added ?

It should be done for a lot of svr4 files. Please do it. We
can add
some machinery in compat/svr4_32/ Makefile.inc, and include
that Makefile.inc
from the kernel Makefile.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )