]> git.droids-corp.org - dpdk.git/commitdiff
drivers: add reasons for components being disabled
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 5 Jun 2019 20:22:41 +0000 (21:22 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 2 Jul 2019 21:21:11 +0000 (23:21 +0200)
For each driver where we optionally disable it, add in the reason why it's
being disabled, so the user knows how to fix it.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
52 files changed:
drivers/bus/dpaa/meson.build
drivers/bus/fslmc/meson.build
drivers/bus/vmbus/meson.build
drivers/common/dpaax/meson.build
drivers/common/mvep/meson.build
drivers/common/qat/meson.build
drivers/compress/isal/meson.build
drivers/compress/zlib/meson.build
drivers/crypto/aesni_gcm/meson.build
drivers/crypto/aesni_mb/meson.build
drivers/crypto/caam_jr/meson.build
drivers/crypto/ccp/meson.build
drivers/crypto/dpaa2_sec/meson.build
drivers/crypto/dpaa_sec/meson.build
drivers/crypto/kasumi/meson.build
drivers/crypto/mvsam/meson.build
drivers/crypto/octeontx/meson.build
drivers/crypto/openssl/meson.build
drivers/crypto/qat/meson.build
drivers/crypto/snow3g/meson.build
drivers/crypto/zuc/meson.build
drivers/event/dpaa/meson.build
drivers/event/dpaa2/meson.build
drivers/mempool/dpaa/meson.build
drivers/mempool/dpaa2/meson.build
drivers/net/af_packet/meson.build
drivers/net/af_xdp/meson.build
drivers/net/avp/meson.build
drivers/net/axgbe/meson.build
drivers/net/bnx2x/meson.build
drivers/net/dpaa/meson.build
drivers/net/dpaa2/meson.build
drivers/net/enetc/meson.build
drivers/net/ifc/meson.build
drivers/net/kni/meson.build
drivers/net/mlx4/meson.build
drivers/net/mlx5/meson.build
drivers/net/mvneta/meson.build
drivers/net/mvpp2/meson.build
drivers/net/netvsc/meson.build
drivers/net/nfb/meson.build
drivers/net/nfp/meson.build
drivers/net/pcap/meson.build
drivers/net/sfc/meson.build
drivers/net/softnic/meson.build
drivers/net/szedata2/meson.build
drivers/net/tap/meson.build
drivers/net/vdev_netvsc/meson.build
drivers/net/vhost/meson.build
drivers/raw/dpaa2_cmdif/meson.build
drivers/raw/dpaa2_qdma/meson.build
drivers/raw/ifpga_rawdev/meson.build

index 1c8ca8c9a424e57daedac0dcb9ea8cadab1fbc96..19daaa5b596c20768826c2a10a2fe11ae0772e42 100644 (file)
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['common_dpaax', 'eventdev']
index 04624c36346ed7dd9c470a1310239104b8160409..faebc4327f363bd42d27bf41a9cfa437219dd08d 100644 (file)
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['common_dpaax', 'eventdev', 'kvargs']
index 9fd430dae25b92b73a6128f60b193e5ee55f085e..79d4c685ecf64ae9139e2de41980bc2821eb1729 100644 (file)
@@ -17,4 +17,5 @@ if is_linux
        includes += include_directories('linux')
 else
        build = false
+       reason = 'only supported on linux'
 endif
index 78378e2a691306d06881885284bc80b4a997b4f1..a315e7786b1a1fd6a4325a469d72ee3edf6feb4b 100644 (file)
@@ -4,7 +4,8 @@
 allow_experimental_apis = true
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 sources = files('dpaax_iova_table.c')
index 8ccfacb3f8c97a628c4d285deb74dc2c15b650d1..8df4bc6e0b24d224fc5f238d5bb7ea9c2018bfef 100644 (file)
@@ -10,6 +10,7 @@ inc_dir = path + '/include'
 lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libmusdk"'
 else
        ext_deps += lib
        includes += include_directories(inc_dir)
index 80b6b25a868372febc3c71098272ba46f5527191..8de2492893962c5528f6fb7421caa25eda84f91f 100644 (file)
@@ -4,6 +4,7 @@
 # This does not build a driver, but instead holds common files for
 # the crypto and compression drivers.
 build = false
+reason = '' # sentinal value to suppress printout
 qat_deps = ['bus_pci']
 qat_sources = files('qat_common.c',
                'qat_qp.c',
index 94c10fd602207db00517db7acd3788de8464cbf0..67b5c4aaec9bf2d311e2551862da7f6c11f8541d 100644 (file)
@@ -3,7 +3,8 @@
 
 dep = dependency('libisal', required: false)
 if not dep.found()
-       build =false
+       build = false
+       reason = 'missing dependency, "libisal"'
 endif
 
 deps += 'bus_vdev'
index b036703c75d9b907455976b4300e19cf9be2f709..b1328c535e1edc75047bd17987cd43ec24214377 100644 (file)
@@ -4,6 +4,7 @@
 dep = dependency('zlib', required: false)
 if not dep.found()
        build = false
+       reason = 'missing dependency, "zlib"'
 endif
 
 deps += 'bus_vdev'
index 7183cfcba1ff2065ff05c650425ef82700393df5..3a6e332dcbf479d7f6150371917139b675e72bc4 100644 (file)
@@ -5,6 +5,7 @@ IMB_required_ver = '0.52.0'
 lib = cc.find_library('IPSec_MB', required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libIPSec_MB"'
 else
        ext_deps += lib
 
@@ -13,8 +14,8 @@ else
                prefix : '#include<intel-ipsec-mb.h>').split('"')[1]
 
        if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver))
-               message('IPSec_MB version >= @0@ is required, found version @1@'.format(
-                               IMB_required_ver, imb_ver))
+               reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format(
+                               IMB_required_ver, imb_ver)
                build = false
        endif
 endif
index 7c1eb3f86e20f00e1fb326233e46265db907c456..3e16874165003a961786e722fa842a1701a574f9 100644 (file)
@@ -5,6 +5,7 @@ IMB_required_ver = '0.52.0'
 lib = cc.find_library('IPSec_MB', required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libIPSec_MB"'
 else
        ext_deps += lib
 
@@ -13,8 +14,8 @@ else
                prefix : '#include<intel-ipsec-mb.h>').split('"')[1]
 
        if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver))
-               message('IPSec_MB version >= @0@ is required, found version @1@'.format(
-                               IMB_required_ver, imb_ver))
+               reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format(
+                               IMB_required_ver, imb_ver)
                build = false
        endif
 
index e61a13c25037a9ef384478aa7ae9e30123924ac4..4c66dd84468e4ce2c32372895a59173a5fdb7a71 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2018 NXP
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_vdev', 'bus_dpaa', 'security']
index 071ccc5e728a7b62eaf05a734b02807b43aead99..6f7217adbff5ff62c6847cabc414b61db6e0600a 100644 (file)
@@ -2,11 +2,13 @@
 # Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved.
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 dep = dependency('libcrypto', required: false)
 if not dep.found()
        build = false
+       reason = 'missing dependency, "libcrypto"'
 endif
 deps += 'bus_vdev'
 deps += 'bus_pci'
index d197cda1afda47a763a40b3a2eaa8b2a90818d59..23affa8a69054b8ea5055513d49cfa4934f02b3c 100644 (file)
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['security', 'mempool_dpaa2']
index 134af88da7a0f9557b3330f8954711240b33fd5f..7b9a019b92b8a692dcd2d9c196056541e6874d5a 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2018 NXP
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_dpaa', 'security']
index 0fa30174037289383aba05739db39ccbdec8a5a3..90a3c4fe695680692dd41c3dbb5c02796505d272 100644 (file)
@@ -4,6 +4,7 @@
 lib = cc.find_library('sso_kasumi', required: false)
 if not lib.found() or not cc.has_header('sso_kasumi.h')
        build = false
+       reason = 'missing dependency, "libsso_kasumi"'
        subdir_done()
 endif
 
index f1c879663188e880ea1aaadb90b5e955234bb1de..6d97dc8a23f2c151187f96151b7105099f99ed47 100644 (file)
@@ -10,6 +10,7 @@ inc_dir = path + '/include'
 lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libmusdk"'
 else
        ext_deps += lib
        includes += include_directories(inc_dir)
index a9f2d3157f00559a167cb551ab6a58c88eab0307..63a59c51a14001c46e1e9b8347e1fb0a33bc2fb6 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright(c) 2018 Cavium, Inc
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_pci']
index d56a323663f0544ae4baea44239d8752793368a0..394e74c9ebaa1b9f3aed4387c2d09afea9ddcafe 100644 (file)
@@ -4,6 +4,7 @@
 dep = dependency('libcrypto', required: false)
 if not dep.found()
        build = false
+       reason = 'missing dependency, "libcrypto"'
 endif
 allow_experimental_apis = true
 deps += 'bus_vdev'
index 710b081ff26b9a6d9ac448c5a42f0aba320eb5b9..fc65923a7642fd54a721e0945f499f07e4b27196 100644 (file)
@@ -4,6 +4,7 @@
 # this does not build the QAT driver, instead that is done in the compression
 # driver which comes later. Here we just add our sources files to the list
 build = false
+reason = '' # sentinal value to suppress printout
 dep = dependency('libcrypto', required: false)
 qat_includes += include_directories('.')
 qat_deps += 'cryptodev'
index c566a5f673ef93e094ebc104bfbf6143c24e7c4f..0e8742ab9cdea1982612023ca4ffdd06276d4a7b 100644 (file)
@@ -4,6 +4,7 @@
 lib = cc.find_library('sso_snow3g', required: false)
 if not lib.found() or not cc.has_header('sso_snow3g.h')
        build = false
+       reason = 'missing dependency, "libsso_snow3g"'
        subdir_done()
 endif
 
index fc29002442882c705de6b217b9ed91b3ab1de721..b231de0baed9ac7406c7d845b784080d80fb1a81 100644 (file)
@@ -4,6 +4,7 @@
 lib = cc.find_library('sso_zuc', required: false)
 if not lib.found() or not cc.has_header('sso_zuc.h')
        build = false
+       reason = 'missing dependency, "libsso_zuc"'
        subdir_done()
 endif
 
index 11b1fe669dff8ca4d1a97327d9830f61f1c78d00..c1e725475d2c9c8bc34512a7e15b74cb2b6bf6d4 100644 (file)
@@ -3,6 +3,7 @@
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 deps += ['pmd_dpaa']
 sources = files('dpaa_eventdev.c')
index a94bc5643bf5b85a9282e67cf69fc37b27953282..f7da7fad54010be9d6e620bffc57bc4761fff8dd 100644 (file)
@@ -5,6 +5,7 @@ version = 2
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 deps += ['bus_vdev', 'pmd_dpaa2', 'pmd_dpaa2_sec']
 sources = files('dpaa2_hw_dpcon.c',
index c4c8ebc09e1490f0be38b7ddcb5d0d8744260e6c..b7446f174b01e569d43d50dfa5c61e9601d5389a 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2018 NXP
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_dpaa']
index 9a8b28d7c4e3956abf5aeb10d29c5257ee8b79a1..3d25ba06d9deb29f9898fbe86ec11a306829b032 100644 (file)
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_fslmc']
index 92c306c7317d5d1a6a6f94c207e481ddd0ba878c..a7f392ea1fd9f451dd1d0c10b3e1a49f19b39273 100644 (file)
@@ -3,5 +3,6 @@
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 sources = files('rte_eth_af_packet.c')
index 7904840f0c388377a10775d90a7f65a88200a854..ac679b92bbc43a75d86ee57ccd6cd1269b495e93 100644 (file)
@@ -13,4 +13,5 @@ if bpf_dep.found() and cc.has_header('bpf/xsk.h') and cc.has_header('linux/if_xd
        pkgconfig_extra_libs += '-lbpf'
 else
        build = false
+       reason = 'missing dependency, "libbpf"'
 endif
index 8138cb22dcdaa00358d3dd646abae8a89de2a30d..a5f63cdef9b9c55aa334baaa60642e6c68319daf 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright(c) 2018 Intel Corporation
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 sources = files('avp_ethdev.c')
 install_headers('rte_avp_common.h', 'rte_avp_fifo.h')
index 6decb25d4fc27771fcd0b923869b7709235c4c95..86873b7ef9d1c6a26125e95a717268172f355605 100644 (file)
@@ -3,6 +3,7 @@
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 
 sources = files('axgbe_ethdev.c',
index dd189ffc467e16da558b066ea424b800ea24c478..4892bb234c517d5fd4e41a45746fcaab5e7b3e13 100644 (file)
@@ -3,6 +3,7 @@
 
 dep = dependency('zlib', required: false)
 build = dep.found()
+reason = 'missing dependency, "zlib"'
 ext_deps += dep
 cflags += '-DZLIB_CONST'
 sources = files('bnx2x.c',
index 8e5418bd6482936bd20cec0c5473560f64aed26b..94c0e22c5781130c868ec0ef3d38c874c6a8038f 100644 (file)
@@ -3,6 +3,7 @@
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 deps += ['mempool_dpaa']
 
index a0ea992386ce0e8029a09fb8b652dd02086fe33a..7e74c656ab0e4bca8dcd227d90334f520bc59b4a 100644 (file)
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['mempool_dpaa2']
index 7d0c2ffe7fd23a5f0b7aa0b5f854ef987c9a034a..3bc069844c0a897d410df74b9579cac828ff5aea 100644 (file)
@@ -3,6 +3,7 @@
 
 if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 
 sources = files('enetc_ethdev.c',
index 72df070acbdb432684f8f4e370855a90d5fcf9d1..adc9ed9ff09de4eb03e2d1096444a11ffd0ab967 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright(c) 2018 Intel Corporation
 
 build = dpdk_conf.has('RTE_LIBRTE_VHOST')
+reason = 'missing dependency, DPDK vhost library'
 allow_experimental_apis = true
 sources = files('ifcvf_vdpa.c', 'base/ifcvf.c')
 includes += include_directories('base')
index e3b2d83b56a57b6d27bd2f9f66001e1218ef5f21..0539b4768a3fdd93da95c4eba3669585ec08b787 100644 (file)
@@ -3,5 +3,6 @@
 
 # this driver can be built if-and-only-if KNI library is buildable
 build = dpdk_conf.has('RTE_LIBRTE_KNI')
+reason = 'missing dependency, DPDK KNI library'
 sources = files('rte_eth_kni.c')
 deps += 'kni'
index 2540489bb792918b45fe5edc7b89cba721850832..5de04b70bb676463697f30e5ecb25eafcacc72a6 100644 (file)
@@ -25,6 +25,7 @@ foreach libname:libnames
                libs += [ lib ]
        else
                build = false
+               reason = 'missing dependency, "' + libname + '"'
        endif
 endforeach
 # Compile PMD
index ac3b529d1ae3ff8fa29f2a608d97cd8cf0592a56..22ddd54c27cc3880ae8678dd0fc685e0a001e749 100644 (file)
@@ -25,6 +25,7 @@ foreach libname:libnames
                libs += [ lib ]
        else
                build = false
+               reason = 'missing dependency, "' + libname + '"'
        endif
 endforeach
 if build
index c0b1bce011d41a1d764be648672539a569802285..8d72027883498aa68827e67353448a72a8836b75 100644 (file)
@@ -10,6 +10,7 @@ inc_dir = path + '/include'
 lib = cc.find_library('libmusdk', dirs : [lib_dir], required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libmusdk"'
 else
        ext_deps += lib
        includes += include_directories(inc_dir)
index 70ef2d642689e8c4bcb2b71e2be4903eb18af0c9..e06eddaac247195adeef5bfc89105e7fa86e5b0e 100644 (file)
@@ -10,6 +10,7 @@ inc_dir = path + '/include'
 lib = cc.find_library('libmusdk', dirs : [lib_dir], required: false)
 if not lib.found()
        build = false
+       reason = 'missing dependency, "libmusdk"'
 else
        ext_deps += lib
        includes += include_directories(inc_dir)
index c8426971624fec6c7c35ef7b9a62dd8157c9bca9..e9fe35344b69228930a1c150a6bd4ffc1f2ced04 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright(c) 2018 Microsoft Corporation
 
 build = dpdk_conf.has('RTE_LIBRTE_VMBUS_BUS')
+reason = 'missing dependency, DPDK VMBus driver'
 version = 2
 sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c', 'hn_vf.c')
 
index 457955d72f2dd0a7cc71edb7300965531d9d1fa9..4502c3f769a9587f3c7284193c6ab9aca7c74762 100644 (file)
@@ -4,6 +4,7 @@
 # All rights reserved.
 
 dep = cc.find_library('nfb', required: false)
+reason = 'missing dependency, "libnfb"'
 
 build = dep.found() and cc.has_header('nfb/nfb.h', dependencies: dep)
 
index 8c87c5b0bc0d8480bf8b329074157b3902da0743..b487cdffdfc5fa44cce119ecc779b83f3092cbea 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright(c) 2018 Intel Corporation
 
 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
-        build = false
+       build = false
+       reason = 'only supported on 64-bit linux'
 endif
 sources = files('nfpcore/nfp_cpp_pcie_ops.c',
        'nfpcore/nfp_nsp.c',
index 2c2fd11e4417ab7f9c4480adcef518718ae3cf8f..910dfab9bcc06440aa2a0cbca17b63fecd1897c8 100644 (file)
@@ -14,6 +14,7 @@ else
                pkgconfig_extra_libs += '-lpcap'
        else
                build = false
+               reason = 'missing dependency, "libpcap"'
        endif
 endif
 sources = files('rte_eth_pcap.c')
index e67560991a0fe4335087bf0ad99ed2b35a2da24b..4fb0d0ac119022f82d9bd5147b07a33865b7125c 100644 (file)
@@ -8,6 +8,7 @@
 
 if arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')
        build = false
+       reason = 'only supported on x86_64'
 endif
 
 allow_experimental_apis = true
index dd1d610ea54a3f7f71d160dc3c5db1a4ad31426a..9c10c2ec80ed230443d1d016588b94d9bdcfcbed 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright(c) 2018 Intel Corporation
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 allow_experimental_apis = true
 install_headers('rte_eth_softnic.h')
index da3733743a4e5099db7961e9f5ed80b6c5cc9c4d..032b4251847fbb9455d2dc35bbe15a7f05a29e47 100644 (file)
@@ -3,5 +3,6 @@
 
 dep = cc.find_library('sze2', required: false)
 build = dep.found()
+reason = 'missing dependency, "libsze2"'
 ext_deps += dep
 sources = files('rte_eth_szedata2.c')
index c407a1f354a09176421790e0e7dfe6d5d3edf714..baa70f756460d5b8dfb3b3b32b184b30cf9c76e0 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2018 Luca Boccassi <bluca@debian.org>
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 sources = files(
        'rte_eth_tap.c',
index 6655859f8ec5e840d95fc0c10631cd5ccd633384..c82c5476c0b4373519b0599072db3dc754f57978 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 sources = files('vdev_netvsc.c')
 
index 9b067c35eb251147524467f6b5fa7bc4dc776b07..9532a76050ff39745f424e3ed17f7160ce714453 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright(c) 2018 Intel Corporation
 
 build = dpdk_conf.has('RTE_LIBRTE_VHOST')
+reason = 'missing dependency, DPDK vhost library'
 version = 2
 sources = files('rte_eth_vhost.c')
 install_headers('rte_eth_vhost.h')
index 37bb24a1be541001482af2782be55a67bc0bcd04..9ba1ae2dea1773d25921d1d46298de1fce51c9dd 100644 (file)
@@ -4,6 +4,7 @@
 version = 2
 
 build = dpdk_conf.has('RTE_LIBRTE_DPAA2_MEMPOOL')
+reason = 'missing dependency, DPDK DPAA2 mempool driver'
 deps += ['rawdev', 'mempool_dpaa2', 'bus_vdev']
 sources = files('dpaa2_cmdif.c')
 
index 1577946fa297029cd06470ffb33c3c111e05a1e3..f70ade3b4df948a7c57378526ce822a7de172f12 100644 (file)
@@ -4,6 +4,7 @@
 version = 2
 
 build = dpdk_conf.has('RTE_LIBRTE_DPAA2_MEMPOOL')
+reason = 'missing dependency, DPDK DPAA2 mempool driver'
 deps += ['rawdev', 'mempool_dpaa2', 'ring', 'kvargs']
 sources = files('dpaa2_qdma.c')
 
index 132b77793dd84a6fe6bacd348fd23042bae9476e..0ab6fd7110506e0bd822410607d6b2c3a82c4a61 100644 (file)
@@ -9,6 +9,7 @@ objs = [base_objs]
 dep = dependency('libfdt', required: false)
 if not dep.found()
        build = false
+       reason = 'missing dependency, "libfdt"'
 endif
 deps += ['rawdev', 'pci', 'bus_pci', 'kvargs',
        'bus_vdev', 'bus_ifpga', 'net']