DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/scheduler: fix header install with meson
@ 2020-09-17 15:09 David Marchand
  2020-09-17 15:29 ` Bruce Richardson
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: David Marchand @ 2020-09-17 15:09 UTC (permalink / raw)
  To: dev; +Cc: stable, Fan Zhang, Luca Boccassi

The headers variable is only used in lib/meson.build context.
For drivers, an explicit install_headers() is necessary.

Reproduced while compiling the l2fwd-crypto example out of meson
(which can be done by adding it in devtools/test-meson-builds.sh
examples build test).

Fixes: cd2b6458a1cb ("crypto/scheduler: add in meson build")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/crypto/scheduler/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/scheduler/meson.build b/drivers/crypto/scheduler/meson.build
index c5ba2d6804..cb0f3a8ba9 100644
--- a/drivers/crypto/scheduler/meson.build
+++ b/drivers/crypto/scheduler/meson.build
@@ -13,7 +13,7 @@ sources = files(
 	'scheduler_roundrobin.c',
 )
 
-headers = files(
+install_headers(
 	'rte_cryptodev_scheduler.h',
 	'rte_cryptodev_scheduler_operations.h',
 )
-- 
2.23.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-10-23  7:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 15:09 [dpdk-dev] [PATCH] crypto/scheduler: fix header install with meson David Marchand
2020-09-17 15:29 ` Bruce Richardson
2020-09-17 15:33   ` David Marchand
2020-09-17 15:46     ` Bruce Richardson
2020-09-17 15:29 ` Bruce Richardson
2020-10-22  7:55 ` [dpdk-dev] [PATCH v2 1/2] " David Marchand
2020-10-22  7:55   ` [dpdk-dev] [PATCH v2 2/2] drivers: add headers install helper David Marchand
2020-10-22  8:16     ` Bruce Richardson
2020-10-22  8:22       ` David Marchand
2020-10-22  9:47         ` Luca Boccassi
2020-10-22  9:53           ` Kevin Traynor
2020-10-22 12:32       ` David Marchand
2020-10-23  7:22     ` Xu, Rosen

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).