mk: do not generate LDLIBS from directory dependencies
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 12 Oct 2017 16:04:21 +0000 (18:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Oct 2017 00:14:57 +0000 (02:14 +0200)
commitcbc12b0a96f5751ab2ed10001f44d39211e3bd45
treee2b7751e155544617bf3298cf03491eb501dfc42
parent4761b145b1e87f8521277e29e7718ab0384d0d62
mk: do not generate LDLIBS from directory dependencies

The list of libraries in LDLIBS was generated from the DEPDIRS-xyz
variable. This is valid when the subdirectory name match the library
name, but it's not always the case, especially for PMDs.

The patches removes this feature and explicitly adds the proper
libraries in LDLIBS.

Some DEPDIRS-xyz variables become useless, remove them.

Reported-by: Gage Eads <gage.eads@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Gage Eads <gage.eads@intel.com>
101 files changed:
drivers/bus/Makefile
drivers/bus/dpaa/Makefile
drivers/bus/fslmc/Makefile
drivers/crypto/Makefile
drivers/crypto/aesni_gcm/Makefile
drivers/crypto/aesni_mb/Makefile
drivers/crypto/armv8/Makefile
drivers/crypto/dpaa2_sec/Makefile
drivers/crypto/kasumi/Makefile
drivers/crypto/null/Makefile
drivers/crypto/openssl/Makefile
drivers/crypto/qat/Makefile
drivers/crypto/scheduler/Makefile
drivers/crypto/snow3g/Makefile
drivers/crypto/zuc/Makefile
drivers/event/Makefile
drivers/event/dpaa2/Makefile
drivers/event/octeontx/Makefile
drivers/event/skeleton/Makefile
drivers/event/sw/Makefile
drivers/mempool/Makefile
drivers/mempool/dpaa/Makefile
drivers/mempool/dpaa2/Makefile
drivers/mempool/octeontx/Makefile
drivers/mempool/ring/Makefile
drivers/mempool/stack/Makefile
drivers/net/Makefile
drivers/net/af_packet/Makefile
drivers/net/ark/Makefile
drivers/net/avp/Makefile
drivers/net/bnx2x/Makefile
drivers/net/bnxt/Makefile
drivers/net/bonding/Makefile
drivers/net/cxgbe/Makefile
drivers/net/dpaa/Makefile
drivers/net/dpaa2/Makefile
drivers/net/e1000/Makefile
drivers/net/ena/Makefile
drivers/net/enic/Makefile
drivers/net/failsafe/Makefile
drivers/net/fm10k/Makefile
drivers/net/i40e/Makefile
drivers/net/ixgbe/Makefile
drivers/net/kni/Makefile
drivers/net/liquidio/Makefile
drivers/net/mlx4/Makefile
drivers/net/mlx5/Makefile
drivers/net/mrvl/Makefile
drivers/net/nfp/Makefile
drivers/net/null/Makefile
drivers/net/octeontx/Makefile
drivers/net/pcap/Makefile
drivers/net/qede/Makefile
drivers/net/ring/Makefile
drivers/net/sfc/Makefile
drivers/net/softnic/Makefile
drivers/net/szedata2/Makefile
drivers/net/tap/Makefile
drivers/net/thunderx/Makefile
drivers/net/vhost/Makefile
drivers/net/virtio/Makefile
drivers/net/vmxnet3/Makefile
examples/ethtool/Makefile
examples/ethtool/lib/Makefile
lib/Makefile
lib/librte_acl/Makefile
lib/librte_bitratestats/Makefile
lib/librte_cmdline/Makefile
lib/librte_cryptodev/Makefile
lib/librte_distributor/Makefile
lib/librte_efd/Makefile
lib/librte_ether/Makefile
lib/librte_eventdev/Makefile
lib/librte_gro/Makefile
lib/librte_gso/Makefile
lib/librte_hash/Makefile
lib/librte_ip_frag/Makefile
lib/librte_jobstats/Makefile
lib/librte_kni/Makefile
lib/librte_kvargs/Makefile
lib/librte_latencystats/Makefile
lib/librte_lpm/Makefile
lib/librte_mbuf/Makefile
lib/librte_member/Makefile
lib/librte_mempool/Makefile
lib/librte_meter/Makefile
lib/librte_metrics/Makefile
lib/librte_net/Makefile
lib/librte_pdump/Makefile
lib/librte_pipeline/Makefile
lib/librte_port/Makefile
lib/librte_power/Makefile
lib/librte_reorder/Makefile
lib/librte_ring/Makefile
lib/librte_sched/Makefile
lib/librte_table/Makefile
lib/librte_timer/Makefile
lib/librte_vhost/Makefile
mk/rte.extsubdir.mk
mk/rte.lib.mk
mk/rte.subdir.mk