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_ETH
) += dev-ap91-eth.o
17 obj-
$(CONFIG_AR71XX_DEV_AP91_PCI
) += dev-ap91-pci.o
18 obj-
$(CONFIG_AR71XX_DEV_AP94_PCI
) += dev-ap94-pci.o
19 obj-
$(CONFIG_AR71XX_DEV_AR913X_WMAC
) += dev-ar913x-wmac.o
20 obj-
$(CONFIG_AR71XX_DEV_DSA
) += dev-dsa.o
21 obj-
$(CONFIG_AR71XX_DEV_GPIO_BUTTONS
) += dev-gpio-buttons.o
22 obj-
$(CONFIG_AR71XX_DEV_LEDS_GPIO
) += dev-leds-gpio.o
23 obj-
$(CONFIG_AR71XX_DEV_M25P80
) += dev-m25p80.o
24 obj-
$(CONFIG_AR71XX_DEV_PB42_PCI
) += dev-pb42-pci.o
25 obj-
$(CONFIG_AR71XX_DEV_PB9X_PCI
) += dev-pb9x-pci.o
26 obj-
$(CONFIG_AR71XX_DEV_USB
) += dev-usb.o
28 obj-
$(CONFIG_AR71XX_NVRAM
) += nvram.o
30 obj-
$(CONFIG_AR71XX_MACH_AP81
) += mach-ap81.o
31 obj-
$(CONFIG_AR71XX_MACH_AP83
) += mach-ap83.o
32 obj-
$(CONFIG_AR71XX_MACH_AW_NR580
) += mach-aw-nr580.o
33 obj-
$(CONFIG_AR71XX_MACH_DIR_600_A1
) += mach-dir-600-a1.o
34 obj-
$(CONFIG_AR71XX_MACH_DIR_615_C1
) += mach-dir-615-c1.o
35 obj-
$(CONFIG_AR71XX_MACH_DIR_825_B1
) += mach-dir-825-b1.o
36 obj-
$(CONFIG_AR71XX_MACH_MZK_W04NU
) += mach-mzk-w04nu.o
37 obj-
$(CONFIG_AR71XX_MACH_MZK_W300NH
) += mach-mzk-w300nh.o
38 obj-
$(CONFIG_AR71XX_MACH_PB42
) += mach-pb42.o
39 obj-
$(CONFIG_AR71XX_MACH_PB44
) += mach-pb44.o
40 obj-
$(CONFIG_AR71XX_MACH_PB92
) += mach-pb92.o
41 obj-
$(CONFIG_AR71XX_MACH_RB4XX
) += mach-rb4xx.o
42 obj-
$(CONFIG_AR71XX_MACH_RB750
) += mach-rb750.o
43 obj-
$(CONFIG_AR71XX_MACH_TEW_632BRP
) += mach-tew-632brp.o
44 obj-
$(CONFIG_AR71XX_MACH_TL_WR741ND
) += mach-tl-wr741nd.o
45 obj-
$(CONFIG_AR71XX_MACH_TL_WR841N_V1
) += mach-tl-wr841n.o
46 obj-
$(CONFIG_AR71XX_MACH_TL_WR941ND
) += mach-tl-wr941nd.o
47 obj-
$(CONFIG_AR71XX_MACH_TL_WR1043ND
) += mach-tl-wr1043nd.o
48 obj-
$(CONFIG_AR71XX_MACH_UBNT
) += mach-ubnt.o
49 obj-
$(CONFIG_AR71XX_MACH_WNDR3700
) += mach-wndr3700.o
50 obj-
$(CONFIG_AR71XX_MACH_WNR2000
) += mach-wnr2000.o
51 obj-
$(CONFIG_AR71XX_MACH_WP543
) += mach-wp543.o
52 obj-
$(CONFIG_AR71XX_MACH_WRT160NL
) += mach-wrt160nl.o
53 obj-
$(CONFIG_AR71XX_MACH_WRT400N
) += mach-wrt400n.o
54 obj-
$(CONFIG_AR71XX_MACH_WZR_HP_G300NH
) += mach-wzr-hp-g300nh.o