xref: /openbmc/linux/arch/mips/ath79/Makefile (revision 63dc02bd)
1#
2# Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
3#
4# Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
5# Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6#
7# This program is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License version 2 as published
9# by the Free Software Foundation.
10
11obj-y	:= prom.o setup.o irq.o common.o clock.o gpio.o
12
13obj-$(CONFIG_EARLY_PRINTK)		+= early_printk.o
14
15#
16# Devices
17#
18obj-y					+= dev-common.o
19obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS)	+= dev-gpio-buttons.o
20obj-$(CONFIG_ATH79_DEV_LEDS_GPIO)	+= dev-leds-gpio.o
21obj-$(CONFIG_ATH79_DEV_SPI)		+= dev-spi.o
22obj-$(CONFIG_ATH79_DEV_USB)		+= dev-usb.o
23obj-$(CONFIG_ATH79_DEV_WMAC)		+= dev-wmac.o
24
25#
26# Machines
27#
28obj-$(CONFIG_ATH79_MACH_AP121)		+= mach-ap121.o
29obj-$(CONFIG_ATH79_MACH_AP81)		+= mach-ap81.o
30obj-$(CONFIG_ATH79_MACH_PB44)		+= mach-pb44.o
31obj-$(CONFIG_ATH79_MACH_UBNT_XM)	+= mach-ubnt-xm.o
32