Makefile 861 Bytes
Newer Older
John Crispin's avatar
John Crispin committed
1 2 3 4 5 6
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
# by the Free Software Foundation.#
# Makefile for the Ralink common stuff
#
# Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
John Crispin's avatar
John Crispin committed
7
# Copyright (C) 2013 John Crispin <john@phrozen.org>
John Crispin's avatar
John Crispin committed
8

9 10 11 12 13
obj-y := prom.o of.o reset.o

ifndef CONFIG_MIPS_GIC
	obj-y += clk.o timer.o
endif
John Crispin's avatar
John Crispin committed
14

15 16
obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o

17 18
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
21

22
obj-$(CONFIG_SOC_RT288X) += rt288x.o
John Crispin's avatar
John Crispin committed
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
John Crispin's avatar
John Crispin committed
27 28

obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
29 30

obj-$(CONFIG_DEBUG_FS) += bootrom.o