fix: remove 'src/' from modules install path
[lttng-modules.git] / src / tests / Kbuild
diff --git a/src/tests/Kbuild b/src/tests/Kbuild
new file mode 100644 (file)
index 0000000..9cf1334
--- /dev/null
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
+
+TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/../..
+
+include $(TOP_LTTNG_MODULES_DIR)/src/Kbuild.common
+
+ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)/include
+
+obj-$(CONFIG_LTTNG) += lttng-test.o
+lttng-test-objs := probes/lttng-test.o
+
+obj-$(CONFIG_LTTNG_CLOCK_PLUGIN_TEST) += lttng-clock-plugin-test.o
+lttng-clock-plugin-test-objs := clock-plugin/lttng-clock-plugin-test.o
+
+# vim:syntax=make
This page took 0.025223 seconds and 4 git commands to generate.