xref: /openbmc/linux/drivers/ptp/Makefile (revision bad1eaa6)
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
1032bd93e8SRichard Cochranobj-$(CONFIG_PTP_1588_CLOCK_IXP46X)	+= ptp_ixp46x.o
11863d08ecSTakahiro Shimizuobj-$(CONFIG_PTP_1588_CLOCK_PCH)	+= ptp_pch.o
12a0e136d4SMarcelo Tosattiobj-$(CONFIG_PTP_1588_CLOCK_KVM)	+= ptp_kvm.o
1319df7510SYangbo Luobj-$(CONFIG_PTP_1588_CLOCK_QORIQ)	+= ptp-qoriq.o
1419df7510SYangbo Luptp-qoriq-y				+= ptp_qoriq.o
1519df7510SYangbo Luptp-qoriq-$(CONFIG_DEBUG_FS)		+= ptp_qoriq_debugfs.o
163a6ba7dcSVincent Chengobj-$(CONFIG_PTP_1588_CLOCK_IDTCM)	+= ptp_clockmatrix.o