* [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path
@ 2019-04-03 8:52 David Marchand
2019-04-03 8:52 ` David Marchand
2019-04-04 17:42 ` Thomas Monjalon
0 siblings, 2 replies; 4+ messages in thread
From: David Marchand @ 2019-04-03 8:52 UTC (permalink / raw)
To: dev; +Cc: thomas
None of those drivers require EAL linux specific headers.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/dpaa/Makefile | 1 -
drivers/bus/pci/Makefile | 1 -
drivers/bus/vmbus/Makefile | 1 -
drivers/crypto/caam_jr/Makefile | 1 -
drivers/crypto/dpaa2_sec/Makefile | 1 -
drivers/crypto/dpaa_sec/Makefile | 1 -
drivers/event/dpaa/Makefile | 1 -
drivers/event/dpaa2/Makefile | 1 -
drivers/mempool/dpaa2/Makefile | 1 -
drivers/net/dpaa/Makefile | 1 -
drivers/net/dpaa2/Makefile | 1 -
drivers/raw/dpaa2_qdma/Makefile | 1 -
12 files changed, 12 deletions(-)
diff --git a/drivers/bus/dpaa/Makefile b/drivers/bus/dpaa/Makefile
index 248c024..dfc2717 100644
--- a/drivers/bus/dpaa/Makefile
+++ b/drivers/bus/dpaa/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -Wno-cast-qual
CFLAGS += -I$(RTE_BUS_DPAA)/
CFLAGS += -I$(RTE_BUS_DPAA)/include
CFLAGS += -I$(RTE_BUS_DPAA)/base/qbman
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
# versioning export map
diff --git a/drivers/bus/pci/Makefile b/drivers/bus/pci/Makefile
index de53ce1..68c1f3f 100644
--- a/drivers/bus/pci/Makefile
+++ b/drivers/bus/pci/Makefile
@@ -20,7 +20,6 @@ endif
CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM)
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/$(SYSTEM)app/eal
# memseg walk is not part of stable API yet
CFLAGS += -DALLOW_EXPERIMENTAL_API
diff --git a/drivers/bus/vmbus/Makefile b/drivers/bus/vmbus/Makefile
index 0d99e71..8f3ec7a 100644
--- a/drivers/bus/vmbus/Makefile
+++ b/drivers/bus/vmbus/Makefile
@@ -19,7 +19,6 @@ endif
CFLAGS += -I$(RTE_SDK)/drivers/bus/vmbus/$(SYSTEM)
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/$(SYSTEM)app/eal
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev
diff --git a/drivers/crypto/caam_jr/Makefile b/drivers/crypto/caam_jr/Makefile
index b078453..cecfbbd 100644
--- a/drivers/crypto/caam_jr/Makefile
+++ b/drivers/crypto/caam_jr/Makefile
@@ -21,7 +21,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/caam_jr
#sharing the hw flib headers from dpaa2_sec pmd
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_caam_jr_version.map
diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile
index 63dbe85..9c6657e 100644
--- a/drivers/crypto/dpaa2_sec/Makefile
+++ b/drivers/crypto/dpaa2_sec/Makefile
@@ -27,7 +27,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2/
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_sec_version.map
diff --git a/drivers/crypto/dpaa_sec/Makefile b/drivers/crypto/dpaa_sec/Makefile
index aa214c0..1d8b7be 100644
--- a/drivers/crypto/dpaa_sec/Makefile
+++ b/drivers/crypto/dpaa_sec/Makefile
@@ -20,7 +20,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
#sharing the hw flib headers from dpaa2_sec pmd
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_cryptodev
diff --git a/drivers/event/dpaa/Makefile b/drivers/event/dpaa/Makefile
index 9b3d6ba..cf96264 100644
--- a/drivers/event/dpaa/Makefile
+++ b/drivers/event/dpaa/Makefile
@@ -20,7 +20,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal/include
EXPORT_MAP := rte_pmd_dpaa_event_version.map
diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile
index e245682..470157f 100644
--- a/drivers/event/dpaa2/Makefile
+++ b/drivers/event/dpaa2/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
LDLIBS += -lrte_eal -lrte_eventdev
LDLIBS += -lrte_bus_fslmc -lrte_mempool_dpaa2 -lrte_pmd_dpaa2
LDLIBS += -lrte_bus_vdev
diff --git a/drivers/mempool/dpaa2/Makefile b/drivers/mempool/dpaa2/Makefile
index 5f3e4ea..c1df78a 100644
--- a/drivers/mempool/dpaa2/Makefile
+++ b/drivers/mempool/dpaa2/Makefile
@@ -13,7 +13,6 @@ CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_mempool_dpaa2_version.map
diff --git a/drivers/net/dpaa/Makefile b/drivers/net/dpaa/Makefile
index 5b8e7f8..4fb16bd 100644
--- a/drivers/net/dpaa/Makefile
+++ b/drivers/net/dpaa/Makefile
@@ -21,7 +21,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/base/qbman
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal/include
EXPORT_MAP := rte_pmd_dpaa_version.map
diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile
index 947fb98..c7262ff 100644
--- a/drivers/net/dpaa2/Makefile
+++ b/drivers/net/dpaa2/Makefile
@@ -19,7 +19,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_version.map
diff --git a/drivers/raw/dpaa2_qdma/Makefile b/drivers/raw/dpaa2_qdma/Makefile
index 5c75f5f..1611439 100644
--- a/drivers/raw/dpaa2_qdma/Makefile
+++ b/drivers/raw/dpaa2_qdma/Makefile
@@ -12,7 +12,6 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path
2019-04-03 8:52 [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path David Marchand
@ 2019-04-03 8:52 ` David Marchand
2019-04-04 17:42 ` Thomas Monjalon
1 sibling, 0 replies; 4+ messages in thread
From: David Marchand @ 2019-04-03 8:52 UTC (permalink / raw)
To: dev; +Cc: thomas
None of those drivers require EAL linux specific headers.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/dpaa/Makefile | 1 -
drivers/bus/pci/Makefile | 1 -
drivers/bus/vmbus/Makefile | 1 -
drivers/crypto/caam_jr/Makefile | 1 -
drivers/crypto/dpaa2_sec/Makefile | 1 -
drivers/crypto/dpaa_sec/Makefile | 1 -
drivers/event/dpaa/Makefile | 1 -
drivers/event/dpaa2/Makefile | 1 -
drivers/mempool/dpaa2/Makefile | 1 -
drivers/net/dpaa/Makefile | 1 -
drivers/net/dpaa2/Makefile | 1 -
drivers/raw/dpaa2_qdma/Makefile | 1 -
12 files changed, 12 deletions(-)
diff --git a/drivers/bus/dpaa/Makefile b/drivers/bus/dpaa/Makefile
index 248c024..dfc2717 100644
--- a/drivers/bus/dpaa/Makefile
+++ b/drivers/bus/dpaa/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -Wno-cast-qual
CFLAGS += -I$(RTE_BUS_DPAA)/
CFLAGS += -I$(RTE_BUS_DPAA)/include
CFLAGS += -I$(RTE_BUS_DPAA)/base/qbman
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
# versioning export map
diff --git a/drivers/bus/pci/Makefile b/drivers/bus/pci/Makefile
index de53ce1..68c1f3f 100644
--- a/drivers/bus/pci/Makefile
+++ b/drivers/bus/pci/Makefile
@@ -20,7 +20,6 @@ endif
CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM)
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/$(SYSTEM)app/eal
# memseg walk is not part of stable API yet
CFLAGS += -DALLOW_EXPERIMENTAL_API
diff --git a/drivers/bus/vmbus/Makefile b/drivers/bus/vmbus/Makefile
index 0d99e71..8f3ec7a 100644
--- a/drivers/bus/vmbus/Makefile
+++ b/drivers/bus/vmbus/Makefile
@@ -19,7 +19,6 @@ endif
CFLAGS += -I$(RTE_SDK)/drivers/bus/vmbus/$(SYSTEM)
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/$(SYSTEM)app/eal
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev
diff --git a/drivers/crypto/caam_jr/Makefile b/drivers/crypto/caam_jr/Makefile
index b078453..cecfbbd 100644
--- a/drivers/crypto/caam_jr/Makefile
+++ b/drivers/crypto/caam_jr/Makefile
@@ -21,7 +21,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/caam_jr
#sharing the hw flib headers from dpaa2_sec pmd
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_caam_jr_version.map
diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile
index 63dbe85..9c6657e 100644
--- a/drivers/crypto/dpaa2_sec/Makefile
+++ b/drivers/crypto/dpaa2_sec/Makefile
@@ -27,7 +27,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2/
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_sec_version.map
diff --git a/drivers/crypto/dpaa_sec/Makefile b/drivers/crypto/dpaa_sec/Makefile
index aa214c0..1d8b7be 100644
--- a/drivers/crypto/dpaa_sec/Makefile
+++ b/drivers/crypto/dpaa_sec/Makefile
@@ -20,7 +20,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
#sharing the hw flib headers from dpaa2_sec pmd
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_cryptodev
diff --git a/drivers/event/dpaa/Makefile b/drivers/event/dpaa/Makefile
index 9b3d6ba..cf96264 100644
--- a/drivers/event/dpaa/Makefile
+++ b/drivers/event/dpaa/Makefile
@@ -20,7 +20,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal/include
EXPORT_MAP := rte_pmd_dpaa_event_version.map
diff --git a/drivers/event/dpaa2/Makefile b/drivers/event/dpaa2/Makefile
index e245682..470157f 100644
--- a/drivers/event/dpaa2/Makefile
+++ b/drivers/event/dpaa2/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
LDLIBS += -lrte_eal -lrte_eventdev
LDLIBS += -lrte_bus_fslmc -lrte_mempool_dpaa2 -lrte_pmd_dpaa2
LDLIBS += -lrte_bus_vdev
diff --git a/drivers/mempool/dpaa2/Makefile b/drivers/mempool/dpaa2/Makefile
index 5f3e4ea..c1df78a 100644
--- a/drivers/mempool/dpaa2/Makefile
+++ b/drivers/mempool/dpaa2/Makefile
@@ -13,7 +13,6 @@ CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_mempool_dpaa2_version.map
diff --git a/drivers/net/dpaa/Makefile b/drivers/net/dpaa/Makefile
index 5b8e7f8..4fb16bd 100644
--- a/drivers/net/dpaa/Makefile
+++ b/drivers/net/dpaa/Makefile
@@ -21,7 +21,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/base/qbman
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal/include
EXPORT_MAP := rte_pmd_dpaa_version.map
diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile
index 947fb98..c7262ff 100644
--- a/drivers/net/dpaa2/Makefile
+++ b/drivers/net/dpaa2/Makefile
@@ -19,7 +19,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
# versioning export map
EXPORT_MAP := rte_pmd_dpaa2_version.map
diff --git a/drivers/raw/dpaa2_qdma/Makefile b/drivers/raw/dpaa2_qdma/Makefile
index 5c75f5f..1611439 100644
--- a/drivers/raw/dpaa2_qdma/Makefile
+++ b/drivers/raw/dpaa2_qdma/Makefile
@@ -12,7 +12,6 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linux/eal
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path
2019-04-03 8:52 [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path David Marchand
2019-04-03 8:52 ` David Marchand
@ 2019-04-04 17:42 ` Thomas Monjalon
2019-04-04 17:42 ` Thomas Monjalon
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2019-04-04 17:42 UTC (permalink / raw)
To: David Marchand; +Cc: dev
03/04/2019 10:52, David Marchand:
> None of those drivers require EAL linux specific headers.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> drivers/bus/dpaa/Makefile | 1 -
> drivers/bus/pci/Makefile | 1 -
> drivers/bus/vmbus/Makefile | 1 -
> drivers/crypto/caam_jr/Makefile | 1 -
> drivers/crypto/dpaa2_sec/Makefile | 1 -
> drivers/crypto/dpaa_sec/Makefile | 1 -
> drivers/event/dpaa/Makefile | 1 -
> drivers/event/dpaa2/Makefile | 1 -
> drivers/mempool/dpaa2/Makefile | 1 -
> drivers/net/dpaa/Makefile | 1 -
> drivers/net/dpaa2/Makefile | 1 -
> drivers/raw/dpaa2_qdma/Makefile | 1 -
> 12 files changed, 12 deletions(-)
Applied, thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path
2019-04-04 17:42 ` Thomas Monjalon
@ 2019-04-04 17:42 ` Thomas Monjalon
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2019-04-04 17:42 UTC (permalink / raw)
To: David Marchand; +Cc: dev
03/04/2019 10:52, David Marchand:
> None of those drivers require EAL linux specific headers.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> drivers/bus/dpaa/Makefile | 1 -
> drivers/bus/pci/Makefile | 1 -
> drivers/bus/vmbus/Makefile | 1 -
> drivers/crypto/caam_jr/Makefile | 1 -
> drivers/crypto/dpaa2_sec/Makefile | 1 -
> drivers/crypto/dpaa_sec/Makefile | 1 -
> drivers/event/dpaa/Makefile | 1 -
> drivers/event/dpaa2/Makefile | 1 -
> drivers/mempool/dpaa2/Makefile | 1 -
> drivers/net/dpaa/Makefile | 1 -
> drivers/net/dpaa2/Makefile | 1 -
> drivers/raw/dpaa2_qdma/Makefile | 1 -
> 12 files changed, 12 deletions(-)
Applied, thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-04 17:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 8:52 [dpdk-dev] [PATCH] drivers: remove Linux EAL from headers include path David Marchand
2019-04-03 8:52 ` David Marchand
2019-04-04 17:42 ` Thomas Monjalon
2019-04-04 17:42 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).