build: standardize component names and defines
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 15 Oct 2020 15:05:53 +0000 (16:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 19 Oct 2020 20:15:34 +0000 (22:15 +0200)
commita20b2c01a7a159609fb732e3ec51b91440a1bf62
tree9b1817356496f91d8ff3f3dae2b316ad8863387b
parent5bd4790174107768aba329032a3a8cd6994bac89
build: standardize component names and defines

As discussed on the dpdk-dev mailing list[1], we can make some easy
improvements in standardizing the naming of the various components in DPDK,
and their associated feature-enabled macros.

Following this patch, each library will have the name in format,
'librte_<name>.so', and the macro indicating that library is enabled in the
build will have the form 'RTE_LIB_<NAME>'.

Similarly, for libraries, the equivalent name formats and macros are:
'librte_<class>_<name>.so' and 'RTE_<CLASS>_<NAME>', where class is the
device type taken from the relevant driver subdirectory name, i.e. 'net',
'crypto' etc.

To avoid too many changes at once for end applications, the old macro names
will still be provided in the build in this release, but will be removed
subsequently.

[1] http://inbox.dpdk.org/dev/ef7c1a87-79ab-e405-4202-39b7ad6b0c71@solarflare.com/t/#u

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Rosen Xu <rosen.xu@intel.com>
40 files changed:
app/test-bbdev/meson.build
app/test-crypto-perf/meson.build
app/test-pmd/meson.build
app/test/meson.build
doc/guides/rel_notes/deprecation.rst
drivers/baseband/meson.build
drivers/bus/meson.build
drivers/common/meson.build
drivers/common/mlx5/meson.build
drivers/common/qat/meson.build
drivers/compress/meson.build
drivers/compress/octeontx/meson.build
drivers/crypto/meson.build
drivers/crypto/null/meson.build
drivers/crypto/octeontx/meson.build
drivers/crypto/octeontx2/meson.build
drivers/crypto/scheduler/meson.build
drivers/crypto/virtio/meson.build
drivers/event/dpaa/meson.build
drivers/event/dpaa2/meson.build
drivers/event/meson.build
drivers/event/octeontx/meson.build
drivers/event/octeontx2/meson.build
drivers/mempool/meson.build
drivers/meson.build
drivers/net/meson.build
drivers/net/mlx4/meson.build
drivers/raw/ifpga/meson.build
drivers/raw/meson.build
drivers/regex/meson.build
drivers/vdpa/meson.build
examples/bond/meson.build
examples/ethtool/meson.build
examples/ioat/meson.build
examples/l2fwd-crypto/meson.build
examples/ntb/meson.build
examples/vm_power_manager/meson.build
lib/librte_ethdev/meson.build
lib/librte_graph/meson.build
lib/meson.build