[kbuild-devel] best practices for kerntypes?

2005-07-26 Thread Eric Sandeen
Christoph Hellwig started a thread a while ago about integrating kerntypes builds into kbuild, but I'm not sure anything came of it. Unfortunately I have to build some kerntypes files nonetheless. :) I'm currently building the kerntypes file as a hostprog, and forcing it to be built w/

Re: [kbuild-devel] best practices for kerntypes?

2005-07-26 Thread Eric Sandeen
Sam Ravnborg wrote: The big issue with Kerntypes is that to be complete you need to link in files from different places. To create just a single Kerntypes.o file you can add the following to kernel/Makefile, drivers/Makefile or similar. no good way to do multiple .o's though? Latest lcrash

[kbuild-devel] using if_changed with implicit rules

2004-11-29 Thread Eric Sandeen
if I have something like: quiet_cmd_systune = SYSTUNE $ cmd_systune = $(dir $)/gen_systune.pl \ $ \ $(obj)/$(*F)_systunes.c \ $(obj)/$(*F)_systunes.h

Re: [kbuild-devel] using $(src) in EXTRA_CFLAGS

2004-11-17 Thread Eric Sandeen
Sam Ravnborg wrote: There is no need to specify full path. The kernel is always build with top of output tree as current directory so a much simpler version is enough: EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6 But what about the case where I wish to use the same Makefile to work out of tree,