Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 11:17:56 +1000
From:      Joel Hatton <freebsd-questions@auscert.org.au>
To:        freebsd-questions@freebsd.org
Subject:   How to tell if /usr/obj is up to date?
Message-ID:  <200508100117.j7A1Hue3093288@app.auscert.org.au>

next in thread | raw e-mail | index | archive | help
Hi,

(repost - I think my first go was lost)

Is there any way to use make in /usr/src to tell if my object tree is up
to date? 

Situation: 

I cvsup my sources and do the make buildworld / buildkernel / installkernel
/ installworld steps. Later, I cvsup again to update for a vul that doesn't
require world to be rebuilt (such as FreeBSD-SA-05:16.zlib) and install.
Now, for instance, a newer update for zlib is available and I'll naturally
have to repeat the previous step. However, hypothetically if for no other
reason, is it possible to tell, after getting my sources up to date again,
if this new revision has already been built and hence is now in the object
tree or do I have to do it all over again to be sure?

In this case, if I run make -n in /usr/src/lib/libz/ should this report
differently depending on whether /usr/obj is up to date or not?

thanks,
joel

-- Joel Hatton --
Security Analyst                    | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax:     +61 7 3365 7031
The University of Queensland        | WWW:     www.auscert.org.au
Qld 4072 Australia                  | Email:   auscert@auscert.org.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508100117.j7A1Hue3093288>