Page MenuHomeFreeBSD

usr.sbin/ntp: don't emit versions w/ make -s
ClosedPublic

Authored by kevans on Oct 21 2019, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 1:00 AM
Unknown Object (File)
Mon, Sep 22, 1:10 PM
Unknown Object (File)
Sun, Sep 21, 8:02 PM
Unknown Object (File)
Aug 5 2025, 5:43 PM
Unknown Object (File)
Jul 22 2025, 10:46 AM
Unknown Object (File)
Jul 14 2025, 12:55 PM
Unknown Object (File)
Jul 12 2025, 10:30 AM
Unknown Object (File)
Jul 11 2025, 7:24 PM
Subscribers

Details

Summary

<sys.mk> defines ECHO=echo when not using make -s, and ECHO=true when using make -s.

export ECHO for ntp products and use it in the mkver script to echo the version. This suppresses the output as appropriate. ECHO is given a default value to make sure things still work as expected for anyone that isn't redefining ECHO.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable