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/
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
if I have something like:
quiet_cmd_systune = SYSTUNE $
cmd_systune = $(dir $)/gen_systune.pl \
$ \
$(obj)/$(*F)_systunes.c \
$(obj)/$(*F)_systunes.h
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,