git: nvmm: Rewrite makefiles and hook to build

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:19 PDT 2021


commit 634ba0209d91c0c20dd67c906ac4dfc74d304564
Author: Aaron LI <aly at aaronly.me>
Date:   Mon May 10 07:35:35 2021 +0800

    nvmm: Rewrite makefiles and hook to build
    
    Note that kernel header files are install by the top-level
    'include/Makefile'.  However, it will install all found header
    files in the specified directories, including 'nvmm_compat.h'
    and 'nvmm_internal.h'.  Therefore, add a guard to prevent them
    from including by userland utilities (e.g., libnvmm, nvmmctl).

Summary of changes:
 etc/mtree/BSD.include.dist           |  6 ++++++
 include/Makefile                     |  2 ++
 sys/dev/virtual/Makefile             |  2 +-
 sys/dev/virtual/nvmm/Makefile        | 16 ++++++++--------
 sys/dev/virtual/nvmm/nvmm_compat.h   |  4 ++++
 sys/dev/virtual/nvmm/nvmm_internal.h |  4 ++++
 sys/dev/virtual/nvmm/x86/Makefile    |  7 -------
 sys/platform/pc64/Makefile.inc       |  3 ++-
 8 files changed, 27 insertions(+), 17 deletions(-)
 delete mode 100644 sys/dev/virtual/nvmm/x86/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/634ba0209d91c0c20dd67c906ac4dfc74d304564


-- 
DragonFly BSD source repository



More information about the Commits mailing list