xref: /openbmc/linux/drivers/ptp/Makefile (revision 57a10d8c)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2d94ba80eSRichard Cochran#
3d94ba80eSRichard Cochran# Makefile for PTP 1588 clock support.
4d94ba80eSRichard Cochran#
5d94ba80eSRichard Cochran
6d94ba80eSRichard Cochranptp-y					:= ptp_clock.o ptp_chardev.o ptp_sysfs.o
7d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)		+= ptp.o
88a56aa10SArun Parameswaranobj-$(CONFIG_PTP_1588_CLOCK_DTE)	+= ptp_dte.o
9bad1eaa6SRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK_INES)	+= ptp_ines.o
10863d08ecSTakahiro Shimizuobj-$(CONFIG_PTP_1588_CLOCK_PCH)	+= ptp_pch.o
11a0e136d4SMarcelo Tosattiobj-$(CONFIG_PTP_1588_CLOCK_KVM)	+= ptp_kvm.o
1219df7510SYangbo Luobj-$(CONFIG_PTP_1588_CLOCK_QORIQ)	+= ptp-qoriq.o
1319df7510SYangbo Luptp-qoriq-y				+= ptp_qoriq.o
1419df7510SYangbo Luptp-qoriq-$(CONFIG_DEBUG_FS)		+= ptp_qoriq_debugfs.o
153a6ba7dcSVincent Chengobj-$(CONFIG_PTP_1588_CLOCK_IDTCM)	+= ptp_clockmatrix.o
1657a10d8cSMin Liobj-$(CONFIG_PTP_1588_CLOCK_IDT82P33)	+= ptp_idt82p33.o
17