tech-userlevel archive

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

Re: NetBSD truss(1), coredumper(1) and performance bottlenecks



On Fri, May 24, 2019 at 10:02:56PM +0700, Robert Elz wrote:
> I wonder what this is doing...

The variable is documented:

  "make" variables
     Several variables control the behavior of NetBSD builds.  Unless
     otherwise specified, these variables may be set in either the process
     environment or the make(1) configuration file specified by MAKECONF.

     BUILDINFO   This may be a multi-line string containing information about
                 the build.  This will appear in DESTDIR/etc/release, and it
                 will be stored in the buildinfo variable in any kernels that
                 are built.  When such kernels are booted, the sysctl(7)
                 kern.buildinfo variable will report this value.  The string
                 may contain backslash escape sequences, such as "\\"
                 (representing a backslash character) and "\n" (representing a
                 newline).


and

> is testing the line from BUILDINFO for being the name of a file
> that isn't empty, and if so, that line is skipped.

this is certainly not what is intended.

Martin


Home | Main Index | Thread Index | Old Index