summaryrefslogtreecommitdiff
path: root/drivers/pps/Makefile
diff options
context:
space:
mode:
authorRodolfo Giometti <giometti@enneenne.com>2024-11-08 10:31:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-08 15:18:09 +0300
commit86b525bed2758878e788c9fb6b8fb281fd61bdb0 (patch)
tree6e0a31b7ca0e963f53fe9d3b156beec97106cf0f /drivers/pps/Makefile
parentc79a39dc8d060b9e64e8b0fa9d245d44befeefbe (diff)
downloadlinux-86b525bed2758878e788c9fb6b8fb281fd61bdb0.tar.xz
drivers pps: add PPS generators support
Sometimes one needs to be able not only to catch PPS signals but to produce them also. For example, running a distributed simulation, which requires computers' clock to be synchronized very tightly. This patch adds PPS generators class in order to have a well-defined interface for these devices. Signed-off-by: Rodolfo Giometti <giometti@enneenne.com> Link: https://lore.kernel.org/r/20241108073115.759039-2-giometti@enneenne.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pps/Makefile')
-rw-r--r--drivers/pps/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pps/Makefile b/drivers/pps/Makefile
index ceaf65cc1f1d..0aea394d4e4d 100644
--- a/drivers/pps/Makefile
+++ b/drivers/pps/Makefile
@@ -6,6 +6,7 @@
pps_core-y := pps.o kapi.o sysfs.o
pps_core-$(CONFIG_NTP_PPS) += kc.o
obj-$(CONFIG_PPS) := pps_core.o
-obj-y += clients/ generators/
+obj-y += clients/
+obj-$(CONFIG_PPS_GENERATOR) += generators/
ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG