git: sys/conf: Clean up makefiles

Aaron LI aly at crater.dragonflybsd.org
Fri Nov 20 06:09:37 PST 2026


commit 28970230ab5b3c25d443676cd1890c7317f77397
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Nov 2 23:55:30 2026 +0800

    sys/conf: Clean up makefiles
    
    * Minor logic and code simplifications.
    * Remove non-existent 'freebsd/net/ifdi_if.m' from MFILES, and sort the
      list.
    * Remove obsolete and commented stale contents.
    * Simplify the 'hack.So' generation to save a temp file.
    * Move -Wno-unused-but-set-variable out of the GCC scope as it's also
      supported by Clang.
    * Style and whitespace cleanups.

Summary of changes:
 sys/conf/bsd.kern.mk  |   8 ++--
 sys/conf/kern.post.mk |  51 ++++++++++++-------------
 sys/conf/kern.pre.mk  |  57 ++++++++++++----------------
 sys/conf/kmod.mk      | 103 +++++++++++++++++++++++++-------------------------
 4 files changed, 105 insertions(+), 114 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/28970230ab5b3c25d443676cd1890c7317f77397


-- 
DragonFly BSD source repository


More information about the Commits mailing list