Skip to content

Commit

Permalink
plugins: build plugins not depended on json without json
Browse files Browse the repository at this point in the history
Some plugins do not use json so no need to check the build dependency.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Dec 16, 2024
1 parent d248701 commit ecd7d99
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions plugins/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,38 @@ if json_c_dep.found()
'plugins/amzn/amzn-nvme.c',
'plugins/dapustor/dapustor-nvme.c',
'plugins/dell/dell-nvme.c',
'plugins/dera/dera-nvme.c',
'plugins/fdp/fdp.c',
'plugins/huawei/huawei-nvme.c',
'plugins/innogrit/innogrit-nvme.c',
'plugins/inspur/inspur-nvme.c',
'plugins/intel/intel-nvme.c',
'plugins/memblaze/memblaze-nvme.c',
'plugins/micron/micron-nvme.c',
'plugins/nbft/nbft-plugin.c',
'plugins/netapp/netapp-nvme.c',
'plugins/nvidia/nvidia-nvme.c',
'plugins/scaleflux/sfx-nvme.c',
'plugins/seagate/seagate-nvme.c',
'plugins/shannon/shannon-nvme.c',
'plugins/solidigm/solidigm-nvme.c',
'plugins/toshiba/toshiba-nvme.c',
'plugins/transcend/transcend-nvme.c',
'plugins/virtium/virtium-nvme.c',
'plugins/ssstc/ssstc-nvme.c',
'plugins/wdc/wdc-nvme.c',
'plugins/wdc/wdc-utils.c',
'plugins/ymtc/ymtc-nvme.c',
'plugins/zns/zns.c',
'plugins/ssstc/ssstc-nvme.c',
]
subdir('solidigm')
if conf.get('HAVE_SED_OPAL') != 0
subdir('sed')
endif
endif

sources += [
'plugins/dera/dera-nvme.c',
'plugins/innogrit/innogrit-nvme.c',
'plugins/inspur/inspur-nvme.c',
'plugins/memblaze/memblaze-nvme.c',
'plugins/shannon/shannon-nvme.c',
'plugins/toshiba/toshiba-nvme.c',
'plugins/transcend/transcend-nvme.c',
'plugins/virtium/virtium-nvme.c',
'plugins/ymtc/ymtc-nvme.c',
'plugins/zns/zns.c',
]

subdir('ocp')

if conf.get('HAVE_SED_OPAL') != 0
subdir('sed')
endif

0 comments on commit ecd7d99

Please sign in to comment.