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:04:06 +0100
commit615fb1913433f85576b5cd8bd03af28ab3914b1d (patch)
tree8aed73db009fa3670fd498df6ff937c1cf5de1cb
parentddc8c35cdd2e6e98f353574cf72580280cefc33c (diff)
downloadrtems-libbsd-615fb1913433f85576b5cd8bd03af28ab3914b1d.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 b1ae944a..dac12d7b 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -1766,6 +1766,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',