[uClibc] [PATCH] fix makefile when not cross-compiling.
Rob Landley
rob at landley.net
Mon Sep 1 21:17:31 UTC 2003
On Monday 01 September 2003 13:52, Erik Andersen wrote:
> Stepping back a bit and looking at the larger picture... I think
> there are really just a few cases we need to deal with. The
> first is the trivial case where the specified kernel headers are
> entirely missing. That is easy to deal with by aborting the
> build.
>
> The next case is where we have kernel headers provided by an
> already configured kernel source tree, where the include/asm-*
> symlink matches the arch for which uClibc is being built. That
> is of course also trivial, since nothing needs to be done.
>
> Anything beyond those two cases and we basically have to guess...
> I just removed most of the guessing stuff and moved it into a
> standalone shell script (extra/scripts/fix_includes.sh). Care to
> see if the latest and greatest is working for you as expected?
>
> -Erik
I'm neck-deep in my to-do list at the moment, but this sounds like a good
approach. I'll try to chip some time out to play with the new version
tomorrow evening...
Thanks,
Rob
More information about the uClibc
mailing list