nvmm: Rewrite makefiles and hook to build
authorAaron LI <aly@aaronly.me>
Sun, 9 May 2021 23:35:35 +0000 (07:35 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 15 Jun 2021 13:37:05 +0000 (21:37 +0800)
commit9f560d6527feba36599aab7ea8fee81578be02f9
treeadc48fde614a65c52994d958094924e444c61bd2
parent8ef0d5e61ed138ec1c3a3d348b4abc2220050b77
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).
etc/mtree/BSD.include.dist
include/Makefile
sys/dev/virtual/Makefile
sys/dev/virtual/nvmm/Makefile
sys/dev/virtual/nvmm/nvmm_compat.h
sys/dev/virtual/nvmm/nvmm_internal.h
sys/dev/virtual/nvmm/x86/Makefile [deleted file]
sys/platform/pc64/Makefile.inc