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_AR934X_WMAC
) += dev-ar934x-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
29 obj-
$(CONFIG_AR71XX_PCI_ATH9K_FIXUP
) += pci-ath9k-fixup.o
31 obj-
$(CONFIG_AR71XX_MACH_AP81
) += mach-ap81.o
32 obj-
$(CONFIG_AR71XX_MACH_AP83
) += mach-ap83.o
33 obj-
$(CONFIG_AR71XX_MACH_AP96
) += mach-ap96.o
34 obj-
$(CONFIG_AR71XX_MACH_AW_NR580
) += mach-aw-nr580.o
35 obj-
$(CONFIG_AR71XX_MACH_DB120
) += mach-db120.o
36 obj-
$(CONFIG_AR71XX_MACH_DIR_600_A1
) += mach-dir-600-a1.o
37 obj-
$(CONFIG_AR71XX_MACH_DIR_615_C1
) += mach-dir-615-c1.o
38 obj-
$(CONFIG_AR71XX_MACH_DIR_825_B1
) += mach-dir-825-b1.o
39 obj-
$(CONFIG_AR71XX_MACH_EAP7660D
) += mach-eap7660d.o
40 obj-
$(CONFIG_AR71XX_MACH_JA76PF
) += mach-ja76pf.o
41 obj-
$(CONFIG_AR71XX_MACH_JWAP003
) += mach-jwap003.o
42 obj-
$(CONFIG_AR71XX_MACH_MZK_W04NU
) += mach-mzk-w04nu.o
43 obj-
$(CONFIG_AR71XX_MACH_MZK_W300NH
) += mach-mzk-w300nh.o
44 obj-
$(CONFIG_AR71XX_MACH_NBG460N
) += mach-nbg460n.o
45 obj-
$(CONFIG_AR71XX_MACH_PB42
) += mach-pb42.o
46 obj-
$(CONFIG_AR71XX_MACH_PB44
) += mach-pb44.o
47 obj-
$(CONFIG_AR71XX_MACH_PB92
) += mach-pb92.o
48 obj-
$(CONFIG_AR71XX_MACH_RB4XX
) += mach-rb4xx.o
49 obj-
$(CONFIG_AR71XX_MACH_RB750
) += mach-rb750.o
50 obj-
$(CONFIG_AR71XX_MACH_TEW_632BRP
) += mach-tew-632brp.o
51 obj-
$(CONFIG_AR71XX_MACH_TL_MR3X20
) += mach-tl-mr3x20.o
52 obj-
$(CONFIG_AR71XX_MACH_TL_WA901ND
) += mach-tl-wa901nd.o
53 obj-
$(CONFIG_AR71XX_MACH_TL_WA901ND_V2
) += mach-tl-wa901nd-v2.o
54 obj-
$(CONFIG_AR71XX_MACH_TL_WR741ND
) += mach-tl-wr741nd.o
55 obj-
$(CONFIG_AR71XX_MACH_TL_WR841N_V1
) += mach-tl-wr841n.o
56 obj-
$(CONFIG_AR71XX_MACH_TL_WR941ND
) += mach-tl-wr941nd.o
57 obj-
$(CONFIG_AR71XX_MACH_TL_WR1043ND
) += mach-tl-wr1043nd.o
58 obj-
$(CONFIG_AR71XX_MACH_UBNT
) += mach-ubnt.o
59 obj-
$(CONFIG_AR71XX_MACH_WNDR3700
) += mach-wndr3700.o
60 obj-
$(CONFIG_AR71XX_MACH_WNR2000
) += mach-wnr2000.o
61 obj-
$(CONFIG_AR71XX_MACH_WP543
) += mach-wp543.o
62 obj-
$(CONFIG_AR71XX_MACH_WRT160NL
) += mach-wrt160nl.o
63 obj-
$(CONFIG_AR71XX_MACH_WRT400N
) += mach-wrt400n.o
64 obj-
$(CONFIG_AR71XX_MACH_WZR_HP_G300NH
) += mach-wzr-hp-g300nh.o
65 obj-
$(CONFIG_AR71XX_MACH_ZCN_1523H
) += mach-zcn-1523h.o