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_M25P80
) += dev-m25p80.o
18 obj-
$(CONFIG_AR71XX_MACH_AP81
) += mach-ap81.o
19 obj-
$(CONFIG_AR71XX_MACH_AP83
) += mach-ap83.o
20 obj-
$(CONFIG_AR71XX_MACH_AW_NR580
) += mach-aw-nr580.o
21 obj-
$(CONFIG_AR71XX_MACH_DIR_615_C1
) += mach-dir-615-c1.o
22 obj-
$(CONFIG_AR71XX_MACH_DIR_825_B1
) += mach-dir-825-b1.o
23 obj-
$(CONFIG_AR71XX_MACH_GENERIC
) += mach-generic.o
24 obj-
$(CONFIG_AR71XX_MACH_MZK_W04NU
) += mach-mzk-w04nu.o
25 obj-
$(CONFIG_AR71XX_MACH_MZK_W300NH
) += mach-mzk-w300nh.o
26 obj-
$(CONFIG_AR71XX_MACH_PB42
) += mach-pb42.o
27 obj-
$(CONFIG_AR71XX_MACH_PB44
) += mach-pb44.o
28 obj-
$(CONFIG_AR71XX_MACH_RB_4XX
) += mach-rb-4xx.o
29 obj-
$(CONFIG_AR71XX_MACH_TEW_632BRP
) += mach-tew-632brp.o
30 obj-
$(CONFIG_AR71XX_MACH_TL_WR741ND
) += mach-tl-wr741nd.o
31 obj-
$(CONFIG_AR71XX_MACH_TL_WR941ND
) += mach-tl-wr941nd.o
32 obj-
$(CONFIG_AR71XX_MACH_TL_WR1043ND
) += mach-tl-wr1043nd.o
33 obj-
$(CONFIG_AR71XX_MACH_UBNT
) += mach-ubnt.o
34 obj-
$(CONFIG_AR71XX_MACH_WNDR3700
) += mach-wndr3700.o
35 obj-
$(CONFIG_AR71XX_MACH_WNR2000
) += mach-wnr2000.o
36 obj-
$(CONFIG_AR71XX_MACH_WP543
) += mach-wp543.o
37 obj-
$(CONFIG_AR71XX_MACH_WRT160NL
) += mach-wrt160nl.o
38 obj-
$(CONFIG_AR71XX_MACH_WRT400N
) += mach-wrt400n.o