On Sun, 2007-11-04 at 00:05 +0100, Felix Fietkau wrote:
> Bernd Petrovitsch wrote:
> > On Sat, 2007-11-03 at 23:00 +0100, Felix Fietkau wrote:
> >> Bernd Petrovitsch wrote:
> >>> On Sat, 2007-11-03 at 18:00 +0100, Felix Fietkau wrote:
> >>> [....]
> >>>> with certain make versions, running make in the olsr directory loops
> >>> Which version(s)? On which OS/systems/...?
> >> OpenWrt, Linux, Make 3.81
> > Any special options etc. for make there?
> Yes, I override CC, AS, and all that stuff for cross compiling and change
> the installation directories.

Of course. Should all be harmless IMHO.

[....]
> I've had similar issues with make when writing code for the OpenWrt build
> system, which also uses GNU make. Most of the time, make is smart enough to
> figure this out, but recursive make can very easily confuse it, since
> dependencies are re-checked after the $(MAKE) command has run.
> What do you think about my patch at http://nbd.name/110-build_fix.patch?

Hmm, I went into another direction: I killed `make -C src/cfgparser` and
avoid to generate a dependency file for src/builddata.c as it is
completely superflous anyways.
Could you try CVS-HEAD?

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



