| 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 | |
| 11 | obj-y := prom.o setup.o irq.o common.o clock.o gpio.o |
| 12 | |
| 13 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
| 14 | obj-$(CONFIG_PCI) += pci.o |
| 15 | |
| 16 | # |
| 17 | # Devices |
| 18 | # |
| 19 | obj-y += dev-common.o |
| 20 | obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o |
| 21 | obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o |
| 22 | obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o |
| 23 | obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o |
| 24 | obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o |
| 25 | |
| 26 | # |
| 27 | # Machines |
| 28 | # |
| 29 | obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o |
| 30 | obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o |
| 31 | obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o |
| 32 | obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o |
| 33 | obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o |