lkml.org 
[lkml]   [2005]   [Sep]   [11]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateSun, 11 Sep 2005 10:31:53 +0200
FromSam Ravnborg <>
SubjectRe: asm-offsets.h is generated in the source tree
> 
> BTW, early build stages on uml with O= are still broken, even with that
> patch.  The following fixes them, but first chunk is a bad kludge.
> 
> What happens:
> 	a) silentconfig expects to have include/linux in build tree already
> created.  Normally that happens earlier, but only by accident.  We need to
> force that somehow and the way I'd done it is almost certainly wrong - it
> should be in top-level makefile, to start with.  Suggestions?

We could stick a `mkdir -p include/linux` command just before executing
$(Q)$(MAKE) $(build)=scripts/kconfig silentoldconfig

It should do the trick - no?

> 	b) kernel-offsets.h needs symlinks already in place.  prepare1 does
> everything we need, so that dependency is probably the right thing (the second
> chunk).

I will try to take a closer look at this tonight.
As always my head starts spinning when I look at the arch/um/Makefile
but I will see what I can do.
If I can simplify it and introduce full dependency checks it would be
really nice. 
It may add a Kbuild file to arch/um with the rules
for generating the header files.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-11 08:34    [from the cache]
©2003-2008