xref: /openbmc/linux/drivers/ptp/Makefile (revision 40b0425f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2d94ba80eSRichard Cochran#
3d94ba80eSRichard Cochran# Makefile for PTP 1588 clock support.
4d94ba80eSRichard Cochran#
5d94ba80eSRichard Cochran
65d43f951SYangbo Luptp-y					:= ptp_clock.o ptp_chardev.o ptp_sysfs.o ptp_vclock.o
7a8cf291bSJianyong Wuptp_kvm-$(CONFIG_X86)			:= ptp_kvm_x86.o ptp_kvm_common.o
8300bb1feSJianyong Wuptp_kvm-$(CONFIG_HAVE_ARM_SMCCC)	:= ptp_kvm_arm.o ptp_kvm_common.o
9d94ba80eSRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK)		+= ptp.o
108a56aa10SArun Parameswaranobj-$(CONFIG_PTP_1588_CLOCK_DTE)	+= ptp_dte.o
11bad1eaa6SRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK_INES)	+= ptp_ines.o
12863d08ecSTakahiro Shimizuobj-$(CONFIG_PTP_1588_CLOCK_PCH)	+= ptp_pch.o
13a0e136d4SMarcelo Tosattiobj-$(CONFIG_PTP_1588_CLOCK_KVM)	+= ptp_kvm.o
1419df7510SYangbo Luobj-$(CONFIG_PTP_1588_CLOCK_QORIQ)	+= ptp-qoriq.o
1519df7510SYangbo Luptp-qoriq-y				+= ptp_qoriq.o
1619df7510SYangbo Luptp-qoriq-$(CONFIG_DEBUG_FS)		+= ptp_qoriq_debugfs.o
173a6ba7dcSVincent Chengobj-$(CONFIG_PTP_1588_CLOCK_IDTCM)	+= ptp_clockmatrix.o
1857a10d8cSMin Liobj-$(CONFIG_PTP_1588_CLOCK_IDT82P33)	+= ptp_idt82p33.o
19*40b0425fSVladimir Olteanobj-$(CONFIG_PTP_1588_CLOCK_MOCK)	+= ptp_mock.o
207d10001eSVivek Thampiobj-$(CONFIG_PTP_1588_CLOCK_VMW)	+= ptp_vmw.o
21a7e1abadSJonathan Lemonobj-$(CONFIG_PTP_1588_CLOCK_OCP)	+= ptp_ocp.o
22615927f1STianfei Zhangobj-$(CONFIG_PTP_DFL_TOD)		+= ptp_dfl_tod.o
23