1# SPDX-License-Identifier: GPL-2.0-only 2# Makefile for the Ralink common stuff 3# 4# Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org> 5# Copyright (C) 2013 John Crispin <john@phrozen.org> 6 7obj-y := prom.o of.o reset.o 8 9ifndef CONFIG_MIPS_GIC 10 obj-y += clk.o timer.o 11endif 12 13obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o 14 15obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o 16 17obj-$(CONFIG_IRQ_INTC) += irq.o 18obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o 19 20obj-$(CONFIG_SOC_RT288X) += rt288x.o 21obj-$(CONFIG_SOC_RT305X) += rt305x.o 22obj-$(CONFIG_SOC_RT3883) += rt3883.o 23obj-$(CONFIG_SOC_MT7620) += mt7620.o 24obj-$(CONFIG_SOC_MT7621) += mt7621.o 25 26obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 27 28obj-$(CONFIG_DEBUG_FS) += bootrom.o 29