xref: /openbmc/linux/arch/mips/ralink/Makefile (revision 1804569d)
1# This program is free software; you can redistribute it and/or modify it
2# under the terms of the GNU General Public License version 2 as published
3# by the Free Software Foundation.#
4# Makefile for the Ralink common stuff
5#
6# Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
7# Copyright (C) 2013 John Crispin <john@phrozen.org>
8
9obj-y := prom.o of.o reset.o
10
11ifndef CONFIG_MIPS_GIC
12	obj-y += clk.o timer.o
13endif
14
15obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o
16
17obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o
18
19obj-$(CONFIG_IRQ_INTC) += irq.o
20obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o
21
22obj-$(CONFIG_SOC_RT288X) += rt288x.o
23obj-$(CONFIG_SOC_RT305X) += rt305x.o
24obj-$(CONFIG_SOC_RT3883) += rt3883.o
25obj-$(CONFIG_SOC_MT7620) += mt7620.o
26obj-$(CONFIG_SOC_MT7621) += mt7621.o
27
28obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
29
30obj-$(CONFIG_DEBUG_FS) += bootrom.o
31