summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rtc/Makefile
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-04-19 14:50:29 +0200
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-30 15:21:51 -0600
commita12ab9e125f184454fc484483fe2029962fe6a34 (patch)
tree6bf247b02f226f8b73927887c54c4b479949ab64 /tools/testing/selftests/rtc/Makefile
parent6d73ceab4d03c25d3a351723c72ad25d4c8cd643 (diff)
downloadlinux-a12ab9e125f184454fc484483fe2029962fe6a34.tar.bz2
selftests: move RTC tests to rtc subfolder
Move the RTC tests out of the timers folder as they are mostly unrelated. Keep rtcpie in timers as it only test hrtimers. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
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 000000000000..de9c8566672a
--- /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