Skip to contentSkip to conversation

mk: remove useless list of core libraries

PATCH Applied Thomas Monjalon 1 participant 2 messages Nov 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mk: remove useless list of core libraries

When moving the library dependencies handling from top Makefiles to library Makefiles, the list core-libs became useless.

Fixes cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")
---
 drivers/bus/Makefile     | 4 ----
 drivers/crypto/Makefile  | 2 --
 drivers/event/Makefile   | 2 --
 drivers/mempool/Makefile | 2 --
 drivers/net/Makefile     | 3 ---
 5 files changed, 13 deletions(-)
drivers/bus/Makefile +0 -4
index a220d275e..e3fbc5082 100644
@@ -30,12 +30,8 @@
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
-core-libs := librte_eal librte_mbuf librte_mempool librte_ring librte_ether
-
 DIRS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += dpaa
-
 DIRS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc
-
 DIRS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += pci
 
 include $(RTE_SDK)/mk/rte.subdir.mk
drivers/crypto/Makefile +0 -2
index d551541c6..645b69677 100644
@@ -31,8 +31,6 @@
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
-core-libs := librte_eal librte_mbuf librte_mempool librte_ring librte_cryptodev
-
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_GCM) += aesni_gcm
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += aesni_mb
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_ARMV8_CRYPTO) += armv8
drivers/event/Makefile +0 -2
index 05dec1b9d..1f9c0ba21 100644
@@ -31,8 +31,6 @@
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
-core-libs := librte_eal librte_ether librte_eventdev
-
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_SKELETON_EVENTDEV) += skeleton
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += sw
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += octeontx
drivers/mempool/Makefile +0 -2
index 1c5f2003e..f656c566d 100644
@@ -30,8 +30,6 @@
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
-core-libs := librte_eal librte_mempool librte_ring
-
 DIRS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa
 DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2
 DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += ring
drivers/net/Makefile +0 -3
index cf3323340..ef09b4e16 100644
@@ -36,9 +36,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD),d)
         $(warning thunderx pmd is not supported by old compilers)
 endif
 
-core-libs := librte_eal librte_mbuf librte_mempool librte_ring librte_ether
-core-libs += librte_net librte_kvargs
-
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += af_packet
 DIRS-$(CONFIG_RTE_LIBRTE_ARK_PMD) += ark
 DIRS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += avp
Signature · 1 line
2.14.2
author Applied
#1 lore raw

06/11/2017 12:24, Thomas Monjalon:

Quoted 6 lines

When moving the library dependencies handling from top Makefiles to library Makefiles, the list core-libs became useless.

Fixes cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies")

Applied