head 1.6; access; symbols netbsd-11-0-RC6:1.3 netbsd-11-0-RC5:1.3 netbsd-11-0-RC4:1.3 netbsd-11-0-RC3:1.3 netbsd-11-0-RC2:1.3 netbsd-11-0-RC1:1.3 perseant-exfatfs-base-20250801:1.3 netbsd-11:1.3.0.2 netbsd-11-base:1.3 netbsd-10-1-RELEASE:1.2 perseant-exfatfs-base-20240630:1.2 perseant-exfatfs:1.2.0.4 perseant-exfatfs-base:1.2 netbsd-10-0-RELEASE:1.2 netbsd-10-0-RC6:1.2 netbsd-10-0-RC5:1.2 netbsd-10-0-RC4:1.2 netbsd-10-0-RC3:1.2 netbsd-10-0-RC2:1.2 netbsd-10-0-RC1:1.2 netbsd-10:1.2.0.2 netbsd-10-base:1.2; locks; strict; comment @# @; 1.6 date 2026.05.10.14.19.10; author tls; state Exp; branches; next 1.5; commitid UGQHYsWEopsE7hFG; 1.5 date 2026.02.12.04.26.11; author kre; state Exp; branches; next 1.4; commitid LWAzXvgHjHsLE2uG; 1.4 date 2026.01.09.22.54.26; author jmcneill; state Exp; branches; next 1.3; commitid ICRnSxv4iQ7NSLpG; 1.3 date 2024.07.11.20.41.08; author riastradh; state Exp; branches; next 1.2; commitid psHdwNjzQfZSIshF; 1.2 date 2022.05.30.15.06.54; author rin; state Exp; branches 1.2.4.1; next 1.1; commitid GVUeTtYLg8nxI5GD; 1.1 date 2021.12.31.16.15.58; author christos; state Exp; branches; next ; commitid AD0FamCHQV3CVOmD; 1.2.4.1 date 2025.08.02.05.20.31; author perseant; state Exp; branches; next ; commitid 23j6GFaDws3O875G; desc @@ 1.6 log @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. @ text @# $NetBSD: md.evbppc,v 1.5 2026/02/12 04:26:11 kre Exp $ # ./usr/lib/libc_aligned_g.a comp-c-debuglib debuglib,!machine_arch=powerpc64 ./usr/lib/libpowerpc_espresso_g.a comp-c-debuglib debuglib,!machine_arch=powerpc64 ./usr/libdata/debug/lib/libc_aligned.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 ./usr/libdata/debug/lib/libpowerpc_espresso.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 ./usr/libdata/debug/netbsd-esata-P2020DS.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/netbsd-ld0a-INSTALL_TWRP1025.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/netbsd-ld0a-TWRP1025.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/netbsd-sd0a-P2020DS.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/netbsd-sd0a-P2020RDB.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/netbsd-sd0a-TWRP1025.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-MPC8536DS.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-MPC8548CDS.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-P2020DS.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-P2020RDB.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-RB800.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/nfsnetbsd-TWRP1025.debug comp-sysutil-debug debugkernel ./usr/libdata/debug/usr/lib/libc_aligned.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 ./usr/libdata/debug/usr/lib/libpowerpc_espresso.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 @ 1.5 log @Sort. @ text @d1 1 a1 1 # $NetBSD: md.evbppc,v 1.4 2026/01/09 22:54:26 jmcneill Exp $ d7 12 a18 12 ./usr/libdata/debug/netbsd-esata-P2020DS.debug comp-sysutil-debug debug ./usr/libdata/debug/netbsd-ld0a-INSTALL_TWRP1025.debug comp-sysutil-debug debug ./usr/libdata/debug/netbsd-ld0a-TWRP1025.debug comp-sysutil-debug debug ./usr/libdata/debug/netbsd-sd0a-P2020DS.debug comp-sysutil-debug debug ./usr/libdata/debug/netbsd-sd0a-P2020RDB.debug comp-sysutil-debug debug ./usr/libdata/debug/netbsd-sd0a-TWRP1025.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-MPC8536DS.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-MPC8548CDS.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-P2020DS.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-P2020RDB.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-RB800.debug comp-sysutil-debug debug ./usr/libdata/debug/nfsnetbsd-TWRP1025.debug comp-sysutil-debug debug @ 1.4 log @Add support for the Nintendo Wii U. @ text @d1 1 a1 1 # $NetBSD: md.evbppc,v 1.3 2024/07/11 20:41:08 riastradh Exp $ d5 2 a18 2 ./usr/libdata/debug/lib/libc_aligned.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 ./usr/libdata/debug/lib/libpowerpc_espresso.so.0.0.debug comp-sys-debug debug,pic,!machine_arch=powerpc64 @ 1.3 log @distrib/sets/lists: Add a blank comment line between RCS id and body. This serves as a buffer between RCS id changes and other changes to the set lists, in an attempt to reduce the pain of merge conflicts around mass set list changes. No functional change intended. @ text @d1 1 a1 1 # $NetBSD: md.evbppc,v 1.2 2022/05/30 15:06:54 rin Exp $ d4 1 d18 1 d20 1 @ 1.2 log @Introduce libc_aligned.so for evbppc-powerpc32, which provides strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and memmove(3). This is used for 403 by ld.so.conf with machdep.no_unaligned variable. With this library, unaligned memory accesses are significantly reduced for 403 (from several hundreds to few tens per sec under heavy load); only ld.elf_so (typically few times per fork) and statically-linked binaries do such access. @ text @d1 2 a2 1 # $NetBSD: md.evbppc,v 1.1 2021/12/31 16:15:58 christos Exp $ @ 1.2.4.1 log @Sync with HEAD @ text @d1 1 a1 2 # $NetBSD: md.evbppc,v 1.3 2024/07/11 20:41:08 riastradh Exp $ # @ 1.1 log @Add kernel debug files. @ text @d1 2 a2 1 # $NetBSD$ d15 2 @