numam-dpdk/lib/librte_telemetry
David Marchand a1d8f30925 telemetry: fix build for armv7
telemetry can not depend on EAL anymore but it still wants to get arch
headers.
We directly point at the right source directories by using the same logic
than EAL. However the special case of armv7 has been missed.

Fix this by defaulting ARCH_DIR to RTE_ARCH.

Caught on OBS:
[  162s]   SYMLINK-FILE include/rte_telemetry.h
[  162s]   CC telemetry.o
[  162s]   CC telemetry_data.o
[  162s]   CC telemetry_legacy.o
[  162s] .../lib/librte_telemetry/telemetry.c:15:10: fatal error:
 rte_spinlock.h: No such file or directory
[  162s]  #include <rte_spinlock.h>
[  162s]           ^~~~~~~~~~~~~~~~
[  162s] compilation terminated.

Fixes: 6dd571fd07 ("telemetry: introduce new functionality")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-05-11 17:44:13 +02:00
..
Makefile telemetry: fix build for armv7 2020-05-11 17:44:13 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
rte_telemetry_legacy.h telemetry: introduce backward compatibility 2020-05-11 00:37:15 +02:00
rte_telemetry_version.map telemetry: remove redundant code 2020-05-11 00:37:16 +02:00
rte_telemetry.h eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
telemetry_data.c telemetry: add functions for returning callback data 2020-05-10 23:54:25 +02:00
telemetry_data.h telemetry: introduce new functionality 2020-05-10 23:53:57 +02:00
telemetry_json.h telemetry: add utility functions for creating JSON 2020-05-10 23:52:41 +02:00
telemetry_legacy.c telemetry: introduce backward compatibility 2020-05-11 00:37:15 +02:00
telemetry.c eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00