commit 634ba0209d91c0c20dd67c906ac4dfc74d304564
Author: Aaron LI <a...@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

Reply via email to