HomeFreeBSD

crossbuild: Make the CHECK_TIME variable work on Linux

Description

crossbuild: Make the CHECK_TIME variable work on Linux

Linux /usr/bin/find doesn't understand the -mtime -0s flag.
Instead create a temporary file and compare that file's mtime to
sys/sys/param.h to check whether the clock is correct.

Reviewed By: jhb, imp
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D14157

Details

Provenance
arichardsonAuthored on Feb 6 2018, 3:41 PM
Parents
rGfb1df203687e: Don't hardcode /usr/bin as the path for mktemp in build tools
Branches
Unknown
Tags
Unknown

Event Timeline