b543d1a715
Since compat library is only a single header, we can easily move it into the EAL common headers instead of tracking it separately. The downside of this is that it becomes a little more difficult to have any libs that are built before EAL depend on it. Thankfully, this is not a major problem as the only library which uses rte_compat.h and is built before EAL (kvargs) already has the path to the compat.h header file explicitly called out as an include path. However, to ensure that we don't hit problems later with this, we can add EAL common headers folder to the global include list in the meson build which means that all common headers can be safely used by all libraries, no matter what their build order. As a side-effect, this patch also fixes an issue with building on BSD using meson, due to compat lib no longer needing to be listed as a dependency. Fixes: a8499f65a1d1 ("log: add missing experimental tag") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Tested-by: David Marchand <david.marchand@redhat.com> Tested-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
31 lines
694 B
Meson
31 lines
694 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# This library is processed before EAL
|
|
includes = [global_inc]
|
|
|
|
version = 2
|
|
sources = files('cmdline.c',
|
|
'cmdline_cirbuf.c',
|
|
'cmdline_parse.c',
|
|
'cmdline_parse_etheraddr.c',
|
|
'cmdline_parse_ipaddr.c',
|
|
'cmdline_parse_num.c',
|
|
'cmdline_parse_portlist.c',
|
|
'cmdline_parse_string.c',
|
|
'cmdline_rdline.c',
|
|
'cmdline_socket.c',
|
|
'cmdline_vt100.c')
|
|
|
|
headers = files('cmdline.h',
|
|
'cmdline_parse.h',
|
|
'cmdline_parse_num.h',
|
|
'cmdline_parse_ipaddr.h',
|
|
'cmdline_parse_etheraddr.h',
|
|
'cmdline_parse_string.h',
|
|
'cmdline_rdline.h',
|
|
'cmdline_vt100.h',
|
|
'cmdline_socket.h',
|
|
'cmdline_cirbuf.h',
|
|
'cmdline_parse_portlist.h')
|