2 # Makefile for the Atheros AR71xx SoC specific parts of the kernel
4 # Copyright (C) 2008-2009 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 irq.o setup.o devices.o gpio.o ar71xx.o
13 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
14 obj-
$(CONFIG_PCI
) += pci.o
16 obj-
$(CONFIG_AR71XX_DEV_AP91_PCI
) += dev-ap91-pci.o
17 obj-
$(CONFIG_AR71XX_DEV_AP94_PCI
) += dev-ap94-pci.o
18 obj-
$(CONFIG_AR71XX_DEV_AR913X_WMAC
) += dev-ar913x-wmac.o
19 obj-
$(CONFIG_AR71XX_DEV_DSA
) += dev-dsa.o
20 obj-
$(CONFIG_AR71XX_DEV_GPIO_BUTTONS
) += dev-gpio-buttons.o
21 obj-
$(CONFIG_AR71XX_DEV_LEDS_GPIO
) += dev-leds-gpio.o
22 obj-
$(CONFIG_AR71XX_DEV_M25P80
) += dev-m25p80.o
23 obj-
$(CONFIG_AR71XX_DEV_PB42_PCI
) += dev-pb42-pci.o
24 obj-
$(CONFIG_AR71XX_DEV_USB
) += dev-usb.o
26 obj-
$(CONFIG_AR71XX_NVRAM
) += nvram.o
28 obj-
$(CONFIG_AR71XX_MACH_AP81
) += mach-ap81.o
29 obj-
$(CONFIG_AR71XX_MACH_AP83
) += mach-ap83.o
30 obj-
$(CONFIG_AR71XX_MACH_AW_NR580
) += mach-aw-nr580.o
31 obj-
$(CONFIG_AR71XX_MACH_DIR_615_C1
) += mach-dir-615-c1.o
32 obj-
$(CONFIG_AR71XX_MACH_DIR_825_B1
) += mach-dir-825-b1.o
33 obj-
$(CONFIG_AR71XX_MACH_GENERIC
) += mach-generic.o
34 obj-
$(CONFIG_AR71XX_MACH_MZK_W04NU
) += mach-mzk-w04nu.o
35 obj-
$(CONFIG_AR71XX_MACH_MZK_W300NH
) += mach-mzk-w300nh.o
36 obj-
$(CONFIG_AR71XX_MACH_PB42
) += mach-pb42.o
37 obj-
$(CONFIG_AR71XX_MACH_PB44
) += mach-pb44.o
38 obj-
$(CONFIG_AR71XX_MACH_RB_4XX
) += mach-rb-4xx.o
39 obj-
$(CONFIG_AR71XX_MACH_TEW_632BRP
) += mach-tew-632brp.o
40 obj-
$(CONFIG_AR71XX_MACH_TL_WR741ND
) += mach-tl-wr741nd.o
41 obj-
$(CONFIG_AR71XX_MACH_TL_WR841N_V1
) += mach-tl-wr841n.o
42 obj-
$(CONFIG_AR71XX_MACH_TL_WR941ND
) += mach-tl-wr941nd.o
43 obj-
$(CONFIG_AR71XX_MACH_TL_WR1043ND
) += mach-tl-wr1043nd.o
44 obj-
$(CONFIG_AR71XX_MACH_UBNT
) += mach-ubnt.o
45 obj-
$(CONFIG_AR71XX_MACH_WNDR3700
) += mach-wndr3700.o
46 obj-
$(CONFIG_AR71XX_MACH_WNR2000
) += mach-wnr2000.o
47 obj-
$(CONFIG_AR71XX_MACH_WP543
) += mach-wp543.o
48 obj-
$(CONFIG_AR71XX_MACH_WRT160NL
) += mach-wrt160nl.o
49 obj-
$(CONFIG_AR71XX_MACH_WRT400N
) += mach-wrt400n.o