summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-09-24 09:40:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-13 13:22:27 +0100
commit380ef1755df322afdc22278f1011a5893472e5cf (patch)
treebdb29ba8745510ea21ce7192145fe042add076c2
parent94a7b59e064c3275bde9f132f20e0a962e8fc077 (diff)
downloadrtems-libbsd-380ef1755df322afdc22278f1011a5893472e5cf.tar.bz2
NVMECONTROL(8): Add to build
Update #3821.
-rw-r--r--libbsd.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/libbsd.py b/libbsd.py
index 44b76eda..e632e5be 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -1630,6 +1630,37 @@ class nvme(builder.Module):
def generate(self):
mm = self.manager
+ self.addUserSpaceHeaderFiles(
+ [
+ 'sbin/nvmecontrol/comnd.h',
+ 'sbin/nvmecontrol/nvmecontrol_ext.h',
+ 'sbin/nvmecontrol/nvmecontrol.h',
+ ]
+ )
+ self.addUserSpaceSourceFiles(
+ [
+ 'sbin/nvmecontrol/comnd.c',
+ 'sbin/nvmecontrol/devlist.c',
+ 'sbin/nvmecontrol/firmware.c',
+ 'sbin/nvmecontrol/format.c',
+ 'sbin/nvmecontrol/identify.c',
+ 'sbin/nvmecontrol/identify_ext.c',
+ 'sbin/nvmecontrol/logpage.c',
+ 'sbin/nvmecontrol/modules/intel/intel.c',
+ 'sbin/nvmecontrol/modules/wdc/wdc.c',
+ 'sbin/nvmecontrol/nc_util.c',
+ 'sbin/nvmecontrol/ns.c',
+ 'sbin/nvmecontrol/nsid.c',
+ 'sbin/nvmecontrol/nvmecontrol.c',
+ 'sbin/nvmecontrol/passthru.c',
+ 'sbin/nvmecontrol/perftest.c',
+ 'sbin/nvmecontrol/power.c',
+ 'sbin/nvmecontrol/reset.c',
+ 'sbin/nvmecontrol/resv.c',
+ 'sbin/nvmecontrol/sanitize.c',
+ ],
+ mm.generator['source']()
+ )
self.addKernelSpaceHeaderFiles(
[
'sys/dev/nvme/nvme.h',