buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject
PATCH 1/1 buildtools: allow reusing dpdk-cmdline-gen.py when used a subproject
When DPDK is used as a subproject, allow declaring wrap files that provide dpdk-cmdline-gen.py.
This way, find_program('dpdk-cmdline-gen.py') will return the path to the script in the DPDK subproject source tree.
--- buildtools/subproject/meson.build | 2 ++ 1 file changed, 2 insertions(+)
buildtools/subproject/meson.build +2 -0
@@ -19,3 +19,5 @@ else endif libdpdk_dep = dpdk_dep + +meson.override_find_program('dpdk-cmdline-gen.py', file('../dpdk-cmdline-gen.py'))
Signature · 1 line
2.42.0
Quoted 11 lines · Robin Jarry
When DPDK is used as a subproject, allow declaring wrap files that provide
dpdk-cmdline-gen.py.This way,
find_program('dpdk-cmdline-gen.py')will return the path to the script in the DPDK subproject source tree.Cc Bruce Richardson <[email protected]>Signed-off-by Robin Jarry <[email protected]>---
Thomas Monjalon
Applied20/11/2023 17:29, Bruce Richardson:
Quoted 7 lines · Robin Jarry
Quoted 6 lines
When DPDK is used as a subproject, allow declaring wrap files that provide
dpdk-cmdline-gen.py.This way,
find_program('dpdk-cmdline-gen.py')will return the path to the script in the DPDK subproject source tree.
Quoted 6 lines
Quoted 5 lines
Cc Bruce Richardson <[email protected]>Signed-off-by Robin Jarry <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Applied, thanks.