Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC 9 enabled for x86 and arm platforms.

On Sun, Sep 13, 2020 at 07:13:31PM +1000, matthew green wrote:
 > > Would -r flag in command be sufficient to ensure a clean build?
 > > 
 > > Something like
 > > ===> command:    ./ -m amd64 -B nb899-20190723 -M ../obj -T ../tooldir -r -U distribution kernel=SANDY7
 > this is probably good enough.
 > -r removes tooldir and destdir.  the lack of -u means
 > you're doing a cleandir which should mean it rebuilds
 > everything else.

That's not always sufficient. Because the clean rules (most of them
anyway) specifically remove $(OBJS) rather than *.o, and do similar
things for other build products, after changes stuff can get left
behind by cleandir. Occasionally it's not harmless stuff.

Deleting the whole obj tree before a full build doesn't cost very much
and it's a good precaution with large changes.

David A. Holland

Home | Main Index | Thread Index | Old Index