xref: /openbmc/linux/arch/mips/ath79/Makefile (revision 65ee8aeb)
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
14obj-$(CONFIG_PCI)			+= pci.o
15
16#
17# Devices
18#
19obj-y					+= dev-common.o
20obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS)	+= dev-gpio-buttons.o
21obj-$(CONFIG_ATH79_DEV_LEDS_GPIO)	+= dev-leds-gpio.o
22obj-$(CONFIG_ATH79_DEV_SPI)		+= dev-spi.o
23obj-$(CONFIG_ATH79_DEV_USB)		+= dev-usb.o
24obj-$(CONFIG_ATH79_DEV_WMAC)		+= dev-wmac.o
25
26#
27# Machines
28#
29obj-$(CONFIG_ATH79_MACH_AP121)		+= mach-ap121.o
30obj-$(CONFIG_ATH79_MACH_AP136)		+= mach-ap136.o
31obj-$(CONFIG_ATH79_MACH_AP81)		+= mach-ap81.o
32obj-$(CONFIG_ATH79_MACH_DB120)		+= mach-db120.o
33obj-$(CONFIG_ATH79_MACH_PB44)		+= mach-pb44.o
34obj-$(CONFIG_ATH79_MACH_UBNT_XM)	+= mach-ubnt-xm.o
35