Source-Changes archive

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

CVS commit: [netbsd-11] src



Module Name:    src
Committed By:   martin
Date:           Tue Aug 25 19:51:33 UTC 2026

Modified Files:
        src/distrib/sets [netbsd-11]: sets.subr
        src/distrib/sets/lists/debug [netbsd-11]: ad.mips ad.mipseb ad.mipsel
            md.emips md.evbarm.earmv4 md.evbarm.earmv5 md.evbarm.earmv5eb
            md.evbppc md.pmax mi
        src/etc [netbsd-11]: Makefile
        src/share/mk [netbsd-11]: bsd.own.mk
        src/sys/conf [netbsd-11]: Makefile.kern.inc

Log Message:
Pull up following revision(s) (requested by tls in ticket #434):

        distrib/sets/lists/debug/md.evbarm.earmv4: revision 1.2
        distrib/sets/sets.subr: revision 1.215
        sys/conf/Makefile.kern.inc: revision 1.306
        distrib/sets/lists/debug/md.evbarm.earmv5: revision 1.2
        distrib/sets/lists/debug/md.pmax: revision 1.5
        distrib/sets/lists/debug/md.emips: revision 1.4
        distrib/sets/lists/debug/ad.mipseb: revision 1.8
        distrib/sets/lists/debug/ad.mipsel: revision 1.8
        distrib/sets/lists/debug/mi: revision 1.513
        distrib/sets/lists/debug/md.evbarm.earmv5eb: revision 1.2
        distrib/sets/lists/debug/md.evbarm.earmv5eb: revision 1.3
        distrib/sets/lists/debug/ad.mips: revision 1.88
        share/mk/bsd.own.mk: revision 1.1482
        distrib/sets/lists/debug/md.evbppc: revision 1.6
        etc/Makefile: revision 1.476

Fix MKDEBUGKERNEL vs MKDEBUG for kernel debug file sets.

The problem manifests as checkflist failures when building ports that
have extensive ALL_KERNELS but not...building all the kernels; notably
the various "evb" ports with a bazillion kernels for a bazillion SoCs.

The mk.conf(5) man page documents MKDEBUGKERNEL as controlling
whether kernel debug files (netbsd-*.debug) appear in the
distribution sets.  However, the prior implementation used MKDEBUG
(the general userland debug flag) instead.

This meant MKDEBUG=yes with MKDEBUGKERNEL=no incorrectly expected
kernel debug files for every kernel config listed in ALL_KERNELS.
When only a subset of kernels is built, checkflist fails with
missing files.

The fix is to make these variables fully conform to the longstanding
documentation.  MKDEBUGKERNEL controls whether kernel debug symbols are
built; MKDEBUG controls everything else.  If you want something like the
old behavior but minus the bugs, set both.

One more of the previous (debug->debugkernel)


To generate a diff of this commit:
cvs rdiff -u -r1.212.2.1 -r1.212.2.2 src/distrib/sets/sets.subr
cvs rdiff -u -r1.84.2.1 -r1.84.2.2 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.6 -r1.6.2.1 src/distrib/sets/lists/debug/ad.mipseb \
    src/distrib/sets/lists/debug/ad.mipsel
cvs rdiff -u -r1.3 -r1.3.2.1 src/distrib/sets/lists/debug/md.emips \
    src/distrib/sets/lists/debug/md.evbppc
cvs rdiff -u -r1.1 -r1.1.2.1 src/distrib/sets/lists/debug/md.evbarm.earmv4 \
    src/distrib/sets/lists/debug/md.evbarm.earmv5 \
    src/distrib/sets/lists/debug/md.evbarm.earmv5eb
cvs rdiff -u -r1.4 -r1.4.2.1 src/distrib/sets/lists/debug/md.pmax
cvs rdiff -u -r1.485.2.12 -r1.485.2.13 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.475.2.1 -r1.475.2.2 src/etc/Makefile
cvs rdiff -u -r1.1428.2.3 -r1.1428.2.4 src/share/mk/bsd.own.mk
cvs rdiff -u -r1.302 -r1.302.2.1 src/sys/conf/Makefile.kern.inc

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