GNU Linux-libre 4.9.337-gnu1
[releases.git] / arch / mips / ralink / Makefile
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
9 obj-y := prom.o of.o reset.o
10
11 ifndef CONFIG_MIPS_GIC
12         obj-y += clk.o timer.o
13 endif
14
15 obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o
16
17 obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o
18
19 obj-$(CONFIG_IRQ_INTC) += irq.o
20 obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o
21
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
27
28 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
29
30 obj-$(CONFIG_DEBUG_FS) += bootrom.o