git: nvmm: Add KCFLAGS in Makefile to improve standalone module build

Aaron LI aly at crater.dragonflybsd.org
Thu Jan 25 05:53:08 PST 2024


commit 8f1cce7aa5d5dbb82d3643540e33489e2e658d09
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jan 18 13:31:53 2024 +0800

    nvmm: Add KCFLAGS in Makefile to improve standalone module build
    
    When a module is build alone, the '-g -DINVARIANTS' flags are not
    present in the default compiler flags, which can hurts developing and
    debuging the module.  Add these flags via 'KCFLAGS' to help it.

Summary of changes:
 sys/dev/virtual/nvmm/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f1cce7aa5d5dbb82d3643540e33489e2e658d09


-- 
DragonFly BSD source repository


More information about the Commits mailing list