162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for PTP 1588 clock support.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciptp-y					:= ptp_clock.o ptp_chardev.o ptp_sysfs.o ptp_vclock.o
762306a36Sopenharmony_ciptp_kvm-$(CONFIG_X86)			:= ptp_kvm_x86.o ptp_kvm_common.o
862306a36Sopenharmony_ciptp_kvm-$(CONFIG_HAVE_ARM_SMCCC)	:= ptp_kvm_arm.o ptp_kvm_common.o
962306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK)		+= ptp.o
1062306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_DTE)	+= ptp_dte.o
1162306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_INES)	+= ptp_ines.o
1262306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_PCH)	+= ptp_pch.o
1362306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_KVM)	+= ptp_kvm.o
1462306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_QORIQ)	+= ptp-qoriq.o
1562306a36Sopenharmony_ciptp-qoriq-y				+= ptp_qoriq.o
1662306a36Sopenharmony_ciptp-qoriq-$(CONFIG_DEBUG_FS)		+= ptp_qoriq_debugfs.o
1762306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_IDTCM)	+= ptp_clockmatrix.o
1862306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_IDT82P33)	+= ptp_idt82p33.o
1962306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_MOCK)	+= ptp_mock.o
2062306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_VMW)	+= ptp_vmw.o
2162306a36Sopenharmony_ciobj-$(CONFIG_PTP_1588_CLOCK_OCP)	+= ptp_ocp.o
2262306a36Sopenharmony_ciobj-$(CONFIG_PTP_DFL_TOD)		+= ptp_dfl_tod.o
23