blob: 28a6fe342d3eea56b6de889b1db860ca1adead5b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Richard Cochrand94ba802011-04-22 12:03:08 +02002#
3# Makefile for PTP 1588 clock support.
4#
5
Yangbo Lu5d43f952021-06-30 16:11:52 +08006ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o ptp_vclock.o
Jianyong Wua8cf2912020-12-09 14:09:26 +08007ptp_kvm-$(CONFIG_X86) := ptp_kvm_x86.o ptp_kvm_common.o
Jianyong Wu300bb1f2020-12-09 14:09:30 +08008ptp_kvm-$(CONFIG_HAVE_ARM_SMCCC) := ptp_kvm_arm.o ptp_kvm_common.o
Richard Cochrand94ba802011-04-22 12:03:08 +02009obj-$(CONFIG_PTP_1588_CLOCK) += ptp.o
Arun Parameswaran8a56aa12017-06-12 13:26:01 -070010obj-$(CONFIG_PTP_1588_CLOCK_DTE) += ptp_dte.o
Richard Cochranbad1eaa2019-12-25 18:16:20 -080011obj-$(CONFIG_PTP_1588_CLOCK_INES) += ptp_ines.o
Takahiro Shimizu863d08e2012-03-07 22:16:26 +000012obj-$(CONFIG_PTP_1588_CLOCK_PCH) += ptp_pch.o
Marcelo Tosattia0e136d2017-01-24 15:09:42 -020013obj-$(CONFIG_PTP_1588_CLOCK_KVM) += ptp_kvm.o
Yangbo Lu19df7512019-01-21 18:41:42 +080014obj-$(CONFIG_PTP_1588_CLOCK_QORIQ) += ptp-qoriq.o
15ptp-qoriq-y += ptp_qoriq.o
16ptp-qoriq-$(CONFIG_DEBUG_FS) += ptp_qoriq_debugfs.o
Arnd Bergmann27855432020-01-12 13:04:44 +010017obj-$(CONFIG_PTP_1588_CLOCK_IDTCM) += ptp_clockmatrix.o
Min Li57a10d82020-02-21 15:03:51 -050018obj-$(CONFIG_PTP_1588_CLOCK_IDT82P33) += ptp_idt82p33.o
Vivek Thampi7d100012020-02-28 05:32:46 +000019obj-$(CONFIG_PTP_1588_CLOCK_VMW) += ptp_vmw.o
Jonathan Lemona7e1aba2020-12-03 19:51:28 -080020obj-$(CONFIG_PTP_1588_CLOCK_OCP) += ptp_ocp.o