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/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/rtc/Makefile b/tools/testing/selftests/rtc/Makefile
new file mode 100644
index 0000000000..55198ecc04
--- /dev/null
+++ b/tools/testing/selftests/rtc/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -O3 -Wl,-no-as-needed -Wall
+LDLIBS += -lrt -lpthread -lm
+
+TEST_GEN_PROGS = rtctest
+
+TEST_GEN_PROGS_EXTENDED = setdate
+
+TEST_FILES := settings
+
+include ../lib.mk