]> git.droids-corp.org - dpdk.git/commitdiff
build: align wording of non-support reasons
authorThomas Monjalon <thomas@monjalon.net>
Fri, 6 Nov 2020 17:08:32 +0000 (18:08 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 20 Nov 2020 15:05:35 +0000 (16:05 +0100)
Reasons for building not supported generally start with lowercase
because printed as the second part of a line.

Other changes:
- "linux" should be "Linux" with a capital letter.
- ARCH_X86_64 may be simply x86_64.
- aarch64 is preferred over arm64.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: David Marchand <david.marchand@redhat.com>
30 files changed:
drivers/bus/dpaa/meson.build
drivers/bus/fslmc/meson.build
drivers/bus/vmbus/meson.build
drivers/common/dpaax/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/octeontx/meson.build
drivers/event/dlb/meson.build
drivers/event/dlb2/meson.build
drivers/event/dpaa/meson.build
drivers/event/dpaa2/meson.build
drivers/mempool/dpaa/meson.build
drivers/mempool/dpaa2/meson.build
drivers/meson.build
drivers/net/af_packet/meson.build
drivers/net/avp/meson.build
drivers/net/axgbe/meson.build
drivers/net/dpaa/meson.build
drivers/net/dpaa2/meson.build
drivers/net/enetc/meson.build
drivers/net/hns3/meson.build
drivers/net/nfp/meson.build
drivers/net/softnic/meson.build
drivers/net/tap/meson.build
drivers/net/vdev_netvsc/meson.build
lib/librte_kni/meson.build
lib/librte_power/meson.build
lib/librte_vhost/meson.build

index c2cffa4943eafab7681a60052f3a173ac66c4991..a3471403e247747f575afa9907788c7bc1d0d295 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['common_dpaax', 'eventdev']
index eb8874a5acbd4e77f82c8aff6db2d91ad55220e0..260e7ef7120c3a8751eb8d462e314d079a8d73fd 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['common_dpaax', 'eventdev', 'kvargs']
index b90e74d69c8b919a748f8a1eef4a960f267e401a..47e26703aaf5c5d1057e7b82e7cf1d7e1577413f 100644 (file)
@@ -20,5 +20,5 @@ if is_linux
        includes += include_directories('linux')
 else
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
index 0b8bf7bd51c8809b930c6b8f2a3155fbaacb368b..453548270139d641ba204f04b8db233bfc4ebb23 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 sources = files('dpaax_iova_table.c', 'dpaa_of.c', 'caamflib.c')
index f8b5250a9392f9c9106149f96fb9d59fd48f40c4..68e6b1d44c3c55c4ccaf7139185a13a0dcd7393c 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['bus_vdev', 'bus_dpaa', 'security']
index 6f7217adbff5ff62c6847cabc414b61db6e0600a..a0e0b379eb31f4e27ceed24f5fa7272177539e08 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 dep = dependency('libcrypto', required: false)
 if not dep.found()
index cb1c2d049256b430786f85bb0b4e86f3df9b5323..69c7264e5a13d5cb4c4ce5cfedbf3168d0cb8604 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['security', 'mempool_dpaa2']
index 7d422d8d5586d459ccf9d0af4e1160292a99ab22..c391a2671128d2e0c42efef38bd96828ece86947 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['bus_dpaa', 'mempool_dpaa', 'security']
index d6939720d87699b9bbe32a61ffe286beb1a0f16b..88c812d3faac81343c2f26ad5768763cf52424f9 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright(c) 2018 Cavium, Inc
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['bus_pci']
index 7d40c163fce3d3ca370184b978a0a7ac7936774c..bc158d2e0ae607da135b485883138137369b1bef 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
         build = false
-        reason = 'only supported on ARCH_X86_64 Linux'
+        reason = 'only supported on x86_64 Linux'
         subdir_done()
 endif
 
index bcda3dd5715b9044410a647128f55535194a9611..f22638b8e43399b67072e705ae73e4688c2b08cf 100644 (file)
@@ -4,7 +4,7 @@
 
 if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
         build = false
-        reason = 'only supported on ARCH_X86_64 Linux'
+        reason = 'only supported on x86_64 Linux'
         subdir_done()
 endif
 
index 9abb75e3e93bc388bdbe6f2bb3f44cee494d5810..85105a210bd91ec2dc9ce5fb4f127e5c70229c44 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 deps += ['net_dpaa', 'crypto_dpaa_sec']
 sources = files('dpaa_eventdev.c')
index 4ead7bb3e9e059ee5e415d829ae4fc5e735ea14e..21aff6276ae5631d479cd63f3e564ba51bc7897d 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 deps += ['bus_vdev', 'net_dpaa2', 'crypto_dpaa2_sec']
 sources = files('dpaa2_hw_dpcon.c',
index 754e6397f2917011a56b1adc76e2b1d629c4754d..09f5295d955868e54c8fae18d4bbfbbe0cca4b1e 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['bus_dpaa']
index ed55c0d437181ac322246942d87043d4c5641941..17ad0a8ea7a8a47feda88756ef5875a27c99aa4c 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['bus_fslmc']
index 6b50f7238d6a62ab4b200b26e4ef32c610813f3f..f9febc579e007e35e83d9d343725e3714ab936da 100644 (file)
@@ -77,7 +77,7 @@ foreach subpath:subdirs
 
                if disabled_drivers.contains(drv_path)
                        build = false
-                       reason = 'Explicitly disabled via build config'
+                       reason = 'explicitly disabled via build config'
                else
                        # pull in driver directory which should update all the local variables
                        subdir(drv_path)
@@ -90,7 +90,7 @@ foreach subpath:subdirs
                        foreach d:deps
                                if not is_variable('shared_rte_' + d)
                                        build = false
-                                       reason = 'Missing internal dependency, "@0@"'.format(d)
+                                       reason = 'missing internal dependency, "@0@"'.format(d)
                                        message('Disabling @1@ [@2@]: missing internal dependency "@0@"'
                                                        .format(d, name, 'drivers/' + drv_path))
                                else
index a7f392ea1fd9f451dd1d0c10b3e1a49f19b39273..50a2f05d3494b86cd8eb9559639396abd1b99471 100644 (file)
@@ -3,6 +3,6 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 sources = files('rte_eth_af_packet.c')
index 7c6b964acb0648f59446cc06814b39c16aa8635d..61c8d5b9f0cf01c42aa2a060d52d52f25ff45139 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 sources = files('avp_ethdev.c')
 headers = files('rte_avp_common.h', 'rte_avp_fifo.h')
index 86873b7ef9d1c6a26125e95a717268172f355605..198e198767c6756df45df5f4635de7e9ab8ca21f 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 sources = files('axgbe_ethdev.c',
index ecb06ea65ed27964ad87c78fb171e54d38370501..0f72730b03a272155f61fa271c79154bae4d51a2 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 deps += ['mempool_dpaa']
 
index 7e43553a3b65ec88cce732cd4b0cf590e0f4f6a1..844dd25159433a549937f27e54d7574f47a79287 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['mempool_dpaa2']
index bea54bea882771ca0e608b1bd6c32bf1ab72bd41..850307c04ed0e187188c103d691e65f4d7463708 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 
 deps += ['common_dpaax']
index 0ad28e59bfc1b7b86e10f65f6882056663c65323..45cee34d9d47c6aeac55a37fb448e026a530ba4e 100644 (file)
@@ -9,7 +9,7 @@ endif
 
 if arch_subdir != 'x86' and arch_subdir != 'arm' or not dpdk_conf.get('RTE_ARCH_64')
        build = false
-       reason = 'only supported on x86_64 and arm64'
+       reason = 'only supported on x86_64 and aarch64'
        subdir_done()
 endif
 
index 24a9a6da9c850dc15b871b0c7dfcb87f1c98acb7..21b20c9ac9c110431d42e92414bfee97b60aa39b 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
        build = false
-       reason = 'only supported on 64-bit linux'
+       reason = 'only supported on 64-bit Linux'
 endif
 sources = files('nfpcore/nfp_cpp_pcie_ops.c',
        'nfpcore/nfp_nsp.c',
index b96ae6ba9eebce8765dbd54f15607bcb3c76f843..e31bdece7b0d141286397fbcb16fac408f4aed93 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 headers = files('rte_eth_softnic.h')
 sources = files('rte_eth_softnic_tm.c',
index c1cdf9e67397873d341a17033f2f4d62359ca70a..d51bd3190d17d3585f846c6cda10ff71894f9f47 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 sources = files(
        'rte_eth_tap.c',
index 58b0012ed9fa5cf2c2d74ee0de9e0a76bf2f32ce..49d3a2c7bbf785d5e20870d36a0aec374d025d42 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 sources = files('vdev_netvsc.c')
 
index ad598bb3d00a60c45ab10b637ddca41716281f56..55e47df413727d99f0446386bd805d43138883e4 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
        build = false
-       reason = 'only supported on 64-bit linux'
+       reason = 'only supported on 64-bit Linux'
 endif
 sources = files('rte_kni.c')
 headers = files('rte_kni.h', 'rte_kni_common.h')
index 78c031c943ee5094b525d02a004a5ebf2bd8b782..4b4cf1b90b1404273538231cfb73052a5b402a70 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 sources = files('rte_power.c', 'power_acpi_cpufreq.c',
                'power_kvm_vm.c', 'guest_channel.c',
index cc9aa65c67765d58e6dfef8c4c56f8c5b2ab3957..6185deab3367e5493c2039ba79e928069c588915 100644 (file)
@@ -3,7 +3,7 @@
 
 if not is_linux
        build = false
-       reason = 'only supported on linux'
+       reason = 'only supported on Linux'
 endif
 if has_libnuma == 1
        dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true)