# SPDX-License-Identifier: GPL-2.0+

ifdef CONFIG_XPL_BUILD
obj-$(CONFIG_ARCH_UNIPHIER_LD4)		+= debug-uart-ld4.o
obj-$(CONFIG_ARCH_UNIPHIER_PRO4)	+= debug-uart-pro4.o
obj-$(CONFIG_ARCH_UNIPHIER_SLD8)	+= debug-uart-sld8.o
obj-$(CONFIG_ARCH_UNIPHIER_PRO5)	+= debug-uart-pro5.o
obj-$(CONFIG_ARCH_UNIPHIER_PXS2)	+= debug-uart-pxs2.o
obj-$(CONFIG_ARCH_UNIPHIER_LD6B)	+= debug-uart-ld6b.o
endif

obj-y					+= debug-uart.o
