Source-Changes archive

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

CVS commit: src/share/mk



Module Name:    src
Committed By:   riastradh
Date:           Thu Oct 31 15:04:11 UTC 2024

Modified Files:
        src/share/mk: bsd.lib.mk

Log Message:
bsd.lib.mk: Let update-symbols know about ro vs rw source trees.

The update-symbols target is a tool for developers to update the
foo.expsym files from the actual list of exported symbols.

But if you have

/home/dev/netbsd/src

as a read-only null-mount of your real read/write source tree

/home/dev/netbsd/src.hg

as I do (in order to detect accidental writes to the srcdir which
should have gone to the objdir), `make update-symbols' doesnt work
because it tries to write to the read-only null mount.

With this change,

make update-symbols NETBSDSRCDIR_RW=/home/dev/netbsd/src.hg

will write instead to the read/write source tree.


To generate a diff of this commit:
cvs rdiff -u -r1.407 -r1.408 src/share/mk/bsd.lib.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index