On Tue, 25 Feb 2020, Kaz Kylheku (gmake) wrote:

> On 2020-02-25 15:45, Robert P. J. Day wrote:
> >   if someone wants to isolate the problem and fix it, i'd be a happy
> > camper as i have lots of other stuff to work on.
> >
> >   thoughts?
>
> If multiple targets in the top-level makefile are recursively
> invoking make in src/pi/protos, running the install target, that's a
> problem.

... snip ...

  on top of everything you wrote, look at the number of "sleep" calls
sprinkled around ... pretty clear someone knew there were timing
issues:

$ grep -r sleep *
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/Makefile:   sleep 2
AFI/test/afi-controller/Makefile:       sleep 2
... etc etc ...

  man, this looks fragile.

rday

Reply via email to