config: enable/disable drivers in Arm builds
[dpdk.git] / config / arm / meson.build
index 00bc461..2984ae2 100644 (file)
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation.
 # Copyright(c) 2017 Cavium, Inc
+# Copyright(c) 2021 PANTHEON.tech s.r.o.
 
 # common flags to all aarch64 builds, with lowest priority
 flags_common = [
@@ -16,9 +17,6 @@ flags_common = [
        #       ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],
        #       ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],
 
-       ['RTE_NET_FM10K', false],
-       ['RTE_NET_AVP', false],
-
        ['RTE_SCHED_VECTOR', false],
        ['RTE_ARM_USE_WFE', false],
        ['RTE_ARCH_ARM64', true],
@@ -125,7 +123,6 @@ implementer_cavium = {
                                ['RTE_MACHINE', '"octeontx2"'],
                                ['RTE_ARM_FEATURE_ATOMICS', true],
                                ['RTE_USE_C11_MEM_MODEL', true],
-                               ['RTE_EAL_IGB_UIO', false],
                                ['RTE_MAX_LCORE', 36],
                                ['RTE_MAX_NUMA_NODES', 1]
                        ]
@@ -208,8 +205,8 @@ if dpdk_conf.get('RTE_ARCH_32')
 else
        # aarch64 build
        if not meson.is_cross_build()
-               if machine == 'default'
-                       # default build
+               if machine == 'generic'
+                       # generic build
                        implementer_id = 'generic'
                        part_number = 'generic'
                else
@@ -256,7 +253,7 @@ else
                      '(-Dmachine=generic) build.')
        endif
 
-       # use default flags with implementer flags
+       # use common flags with implementer flags
        dpdk_flags = flags_common + implementer_config['flags'] + part_number_config.get('flags', [])
 
        # apply supported machine args