summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rtc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/rtc/Makefile')
-rw-r--r--tools/testing/selftests/rtc/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/selftests/rtc/Makefile b/tools/testing/selftests/rtc/Makefile
new file mode 100644
index 000000000..de9c85666
--- /dev/null
+++ b/tools/testing/selftests/rtc/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -O3 -Wl,-no-as-needed -Wall
+LDFLAGS += -lrt -lpthread -lm
+
+TEST_GEN_PROGS = rtctest
+
+TEST_GEN_PROGS_EXTENDED = setdate
+
+include ../lib.mk