2 # Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
4 # Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
5 # Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
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.
11 obj-y
:= prom.o setup.o irq.o common.o clock.o gpio.o
13 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
19 obj-
$(CONFIG_ATH79_DEV_GPIO_BUTTONS
) += dev-gpio-buttons.o
20 obj-
$(CONFIG_ATH79_DEV_LEDS_GPIO
) += dev-leds-gpio.o
21 obj-
$(CONFIG_ATH79_DEV_SPI
) += dev-spi.o
22 obj-
$(CONFIG_ATH79_DEV_USB
) += dev-usb.o
23 obj-
$(CONFIG_ATH79_DEV_WMAC
) += dev-wmac.o
28 obj-
$(CONFIG_ATH79_MACH_AP121
) += mach-ap121.o
29 obj-
$(CONFIG_ATH79_MACH_AP81
) += mach-ap81.o
30 obj-
$(CONFIG_ATH79_MACH_PB44
) += mach-pb44.o
31 obj-
$(CONFIG_ATH79_MACH_UBNT_XM
) += mach-ubnt-xm.o