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)
Sun, Feb 8, 2:31 AM
Unknown Object (File)
Sat, Feb 7, 6:14 PM
Unknown Object (File)
Fri, Jan 30, 7:42 PM
Unknown Object (File)
Dec 20 2025, 3:18 AM
Unknown Object (File)
Nov 26 2025, 1:12 AM
Unknown Object (File)
Nov 20 2025, 4:48 PM
Unknown Object (File)
Nov 20 2025, 4:10 PM
Unknown Object (File)
Nov 20 2025, 4:09 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