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
6 # Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
7 # Copyright (C) 2013 John Crispin <john@phrozen.org>
9 obj-y
:= prom.o of.o reset.o
11 ifndef CONFIG_MIPS_GIC
12 obj-y
+= clk.o timer.o
15 obj-
$(CONFIG_CLKEVT_RT3352
) += cevt-rt3352.o
17 obj-
$(CONFIG_RALINK_ILL_ACC
) += ill_acc.o
19 obj-
$(CONFIG_IRQ_INTC
) += irq.o
20 obj-
$(CONFIG_MIPS_GIC
) += irq-gic.o timer-gic.o
22 obj-
$(CONFIG_SOC_RT288X
) += rt288x.o
23 obj-
$(CONFIG_SOC_RT305X
) += rt305x.o
24 obj-
$(CONFIG_SOC_RT3883
) += rt3883.o
25 obj-
$(CONFIG_SOC_MT7620
) += mt7620.o
26 obj-
$(CONFIG_SOC_MT7621
) += mt7621.o
28 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
30 obj-
$(CONFIG_DEBUG_FS
) += bootrom.o