aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2022-10-20 11:10:55 +0300
committerMatias Elo <matias.elo@nokia.com>2022-10-21 12:17:22 +0300
commit7566415e99170e7149b6458290c853f2e2d8c315 (patch)
tree160927bbf363be51ebe845256930d7494ad41a60 /test
parentd6d4300fde9e244fd9c47089622dec900c629523 (diff)
test: perf: l2fwd: augment fix to dependency to odp_generator
The previous fix to this does not work when ODP is configured with --without-examples and built out-of-tree (i.e. configure is run in some other directory than ODP base directory). Fix by adding a recipe to explicitly go to the generator directory to build it. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test')
-rw-r--r--test/performance/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am
index 8b0e2e2be..c215e7151 100644
--- a/test/performance/Makefile.am
+++ b/test/performance/Makefile.am
@@ -74,6 +74,8 @@ odp_timer_perf_SOURCES = odp_timer_perf.c
# l2fwd test depends on generator example
EXTRA_odp_l2fwd_DEPENDENCIES = $(top_builddir)/example/generator/odp_generator$(EXEEXT)
+$(top_builddir)/example/generator/odp_generator$(EXEEXT):
+ $(MAKE) -C $(top_builddir)/example/generator odp_generator$(EXEEXT)
dist_check_SCRIPTS = $(TESTSCRIPTS)