2 # Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
4 # Copyright (C) 2008-2011 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 setup.o irq.o common.o clock.o gpio.o
13 obj-
$(CONFIG_EARLY_PRINTK
) += early_printk.o
14 obj-
$(CONFIG_PCI
) += pci.o
20 obj-
$(CONFIG_ATH79_DEV_AP9X_PCI
) += dev-ap9x-pci.o
21 obj-
$(CONFIG_ATH79_DEV_DSA
) += dev-dsa.o
22 obj-
$(CONFIG_ATH79_DEV_ETH
) += dev-eth.o
23 obj-
$(CONFIG_ATH79_DEV_GPIO_BUTTONS
) += dev-gpio-buttons.o
24 obj-
$(CONFIG_ATH79_DEV_LEDS_GPIO
) += dev-leds-gpio.o
25 obj-
$(CONFIG_ATH79_DEV_M25P80
) += dev-m25p80.o
26 obj-
$(CONFIG_ATH79_DEV_NFC
) += dev-nfc.o
27 obj-
$(CONFIG_ATH79_DEV_SPI
) += dev-spi.o
28 obj-
$(CONFIG_ATH79_DEV_USB
) += dev-usb.o
29 obj-
$(CONFIG_ATH79_DEV_WMAC
) += dev-wmac.o
32 # Miscellaneous objects
34 obj-
$(CONFIG_ATH79_NVRAM
) += nvram.o
35 obj-
$(CONFIG_ATH79_PCI_ATH9K_FIXUP
) += pci-ath9k-fixup.o
36 obj-
$(CONFIG_ATH79_ROUTERBOOT
) += routerboot.o
41 obj-
$(CONFIG_ATH79_MACH_ALFA_AP120C
) += mach-alfa-ap120c.o
42 obj-
$(CONFIG_ATH79_MACH_ALFA_AP96
) += mach-alfa-ap96.o
43 obj-
$(CONFIG_ATH79_MACH_ALFA_NX
) += mach-alfa-nx.o
44 obj-
$(CONFIG_ATH79_MACH_ALL0258N
) += mach-all0258n.o
45 obj-
$(CONFIG_ATH79_MACH_ALL0315N
) += mach-all0315n.o
46 obj-
$(CONFIG_ATH79_MACH_ANTMINER_S1
)+= mach-antminer-s1.o
47 obj-
$(CONFIG_ATH79_MACH_ANTMINER_S3
)+= mach-antminer-s3.o
48 obj-
$(CONFIG_ATH79_MACH_ANTROUTER_R1
) += mach-antrouter-r1.o
49 obj-
$(CONFIG_ATH79_MACH_ARDUINO_YUN
) += mach-arduino-yun.o
50 obj-
$(CONFIG_ATH79_MACH_AP113
) += mach-ap113.o
51 obj-
$(CONFIG_ATH79_MACH_AP121
) += mach-ap121.o
52 obj-
$(CONFIG_ATH79_MACH_AP132
) += mach-ap132.o
53 obj-
$(CONFIG_ATH79_MACH_AP136
) += mach-ap136.o
54 obj-
$(CONFIG_ATH79_MACH_AP143
) += mach-ap143.o
55 obj-
$(CONFIG_ATH79_MACH_AP147
) += mach-ap147.o
56 obj-
$(CONFIG_ATH79_MACH_AP152
) += mach-ap152.o
57 obj-
$(CONFIG_ATH79_MACH_AP81
) += mach-ap81.o
58 obj-
$(CONFIG_ATH79_MACH_AP83
) += mach-ap83.o
59 obj-
$(CONFIG_ATH79_MACH_AP96
) += mach-ap96.o
60 obj-
$(CONFIG_ATH79_MACH_ARCHER_C7
) += mach-archer-c7.o
61 obj-
$(CONFIG_ATH79_MACH_AW_NR580
) += mach-aw-nr580.o
62 obj-
$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A
)+= mach-bhu-bxu2000n2-a.o
63 obj-
$(CONFIG_ATH79_MACH_BSB
) += mach-bsb.o
64 obj-
$(CONFIG_ATH79_MACH_CAP324
) += mach-cap324.o
65 obj-
$(CONFIG_ATH79_MACH_CAP4200AG
) += mach-cap4200ag.o
66 obj-
$(CONFIG_ATH79_MACH_CF_E316N_V2
) += mach-cf-e316n-v2.o
67 obj-
$(CONFIG_ATH79_MACH_CPE510
) += mach-cpe510.o
68 obj-
$(CONFIG_ATH79_MACH_CR3000
) += mach-cr3000.o
69 obj-
$(CONFIG_ATH79_MACH_CR5000
) += mach-cr5000.o
70 obj-
$(CONFIG_ATH79_MACH_DB120
) += mach-db120.o
71 obj-
$(CONFIG_ATH79_MACH_DLAN_HOTSPOT
) += mach-dlan-hotspot.o
72 obj-
$(CONFIG_ATH79_MACH_DLAN_PRO_500_WP
) += mach-dlan-pro-500-wp.o
73 obj-
$(CONFIG_ATH79_MACH_DLAN_PRO_1200_AC
) += mach-dlan-pro-1200-ac.o
74 obj-
$(CONFIG_ATH79_MACH_DGL_5500_A1
) += mach-dgl-5500-a1.o
75 obj-
$(CONFIG_ATH79_MACH_DHP_1565_A1
) += mach-dhp-1565-a1.o
76 obj-
$(CONFIG_ATH79_MACH_DIR_505_A1
) += mach-dir-505-a1.o
77 obj-
$(CONFIG_ATH79_MACH_DIR_600_A1
) += mach-dir-600-a1.o
78 obj-
$(CONFIG_ATH79_MACH_DIR_615_C1
) += mach-dir-615-c1.o
79 obj-
$(CONFIG_ATH79_MACH_DIR_615_I1
) += mach-dir-615-i1.o
80 obj-
$(CONFIG_ATH79_MACH_DIR_825_B1
) += mach-dir-825-b1.o
81 obj-
$(CONFIG_ATH79_MACH_DIR_825_C1
) += mach-dir-825-c1.o
82 obj-
$(CONFIG_ATH79_MACH_DR344
) += mach-dr344.o
83 obj-
$(CONFIG_ATH79_MACH_DR531
) += mach-dr531.o
84 obj-
$(CONFIG_ATH79_MACH_DRAGINO2
) += mach-dragino2.o
85 obj-
$(CONFIG_ATH79_MACH_ESR900
) += mach-esr900.o
86 obj-
$(CONFIG_ATH79_MACH_EW_DORIN
) += mach-ew-dorin.o
87 obj-
$(CONFIG_ATH79_MACH_EAP300V2
) += mach-eap300v2.o
88 obj-
$(CONFIG_ATH79_MACH_EAP7660D
) += mach-eap7660d.o
89 obj-
$(CONFIG_ATH79_MACH_EL_M150
) += mach-el-m150.o
90 obj-
$(CONFIG_ATH79_MACH_EL_MINI
) += mach-el-mini.o
91 obj-
$(CONFIG_ATH79_MACH_EPG5000
) += mach-epg5000.o
92 obj-
$(CONFIG_ATH79_MACH_ESR1750
) += mach-esr1750.o
93 obj-
$(CONFIG_ATH79_MACH_F9K1115V2
) += mach-f9k1115v2.o
94 obj-
$(CONFIG_ATH79_MACH_GL_AR150
) += mach-gl-ar150.o
95 obj-
$(CONFIG_ATH79_MACH_GL_AR300
) += mach-gl-ar300.o
96 obj-
$(CONFIG_ATH79_MACH_GL_AR300M
) += mach-gl-ar300m.o
97 obj-
$(CONFIG_ATH79_MACH_GL_DOMINO
) += mach-gl-domino.o
98 obj-
$(CONFIG_ATH79_MACH_GL_INET
) += mach-gl-inet.o
99 obj-
$(CONFIG_ATH79_MACH_GL_MIFI
) += mach-gl-mifi.o
100 obj-
$(CONFIG_ATH79_MACH_GS_MINIBOX_V1
) += mach-gs-minibox-v1.o
101 obj-
$(CONFIG_ATH79_MACH_GS_OOLITE
) += mach-gs-oolite.o
102 obj-
$(CONFIG_ATH79_MACH_HIWIFI_HC6361
) += mach-hiwifi-hc6361.o
103 obj-
$(CONFIG_ATH79_MACH_JA76PF
) += mach-ja76pf.o
104 obj-
$(CONFIG_ATH79_MACH_JWAP003
) += mach-jwap003.o
105 obj-
$(CONFIG_ATH79_MACH_JWAP230
) += mach-jwap230.o
106 obj-
$(CONFIG_ATH79_MACH_HORNET_UB
) += mach-hornet-ub.o
107 obj-
$(CONFIG_ATH79_MACH_MC_MAC1200R
) += mach-mc-mac1200r.o
108 obj-
$(CONFIG_ATH79_MACH_MR12
) += mach-mr12.o
109 obj-
$(CONFIG_ATH79_MACH_MR16
) += mach-mr16.o
110 obj-
$(CONFIG_ATH79_MACH_MR18
) += mach-mr18.o
111 obj-
$(CONFIG_ATH79_MACH_MR1750
) += mach-mr1750.o
112 obj-
$(CONFIG_ATH79_MACH_MR600
) += mach-mr600.o
113 obj-
$(CONFIG_ATH79_MACH_MR900
) += mach-mr900.o
114 obj-
$(CONFIG_ATH79_MACH_MYNET_N600
) += mach-mynet-n600.o
115 obj-
$(CONFIG_ATH79_MACH_MYNET_N750
) += mach-mynet-n750.o
116 obj-
$(CONFIG_ATH79_MACH_MYNET_REXT
) += mach-mynet-rext.o
117 obj-
$(CONFIG_ATH79_MACH_MZK_W04NU
) += mach-mzk-w04nu.o
118 obj-
$(CONFIG_ATH79_MACH_MZK_W300NH
) += mach-mzk-w300nh.o
119 obj-
$(CONFIG_ATH79_MACH_NBG460N
) += mach-nbg460n.o
120 obj-
$(CONFIG_ATH79_MACH_OM2P
) += mach-om2p.o
121 obj-
$(CONFIG_ATH79_MACH_OM5P
) += mach-om5p.o
122 obj-
$(CONFIG_ATH79_MACH_OM5P_AC
) += mach-om5pac.o
123 obj-
$(CONFIG_ATH79_MACH_OM5P_ACv2
) += mach-om5pacv2.o
124 obj-
$(CONFIG_ATH79_MACH_OMY_G1
) += mach-omy-g1.o
125 obj-
$(CONFIG_ATH79_MACH_OMY_X1
) += mach-omy-x1.o
126 obj-
$(CONFIG_ATH79_MACH_ONION_OMEGA
) += mach-onion-omega.o
127 obj-
$(CONFIG_ATH79_MACH_PB42
) += mach-pb42.o
128 obj-
$(CONFIG_ATH79_MACH_PB44
) += mach-pb44.o
129 obj-
$(CONFIG_ATH79_MACH_PB92
) += mach-pb92.o
130 obj-
$(CONFIG_ATH79_MACH_C55
) += mach-c55.o
131 obj-
$(CONFIG_ATH79_MACH_QIHOO_C301
) += mach-qihoo-c301.o
132 obj-
$(CONFIG_ATH79_MACH_R6100
) += mach-r6100.o
133 obj-
$(CONFIG_ATH79_MACH_RB4XX
) += mach-rb4xx.o
134 obj-
$(CONFIG_ATH79_MACH_RB750
) += mach-rb750.o
135 obj-
$(CONFIG_ATH79_MACH_RB91X
) += mach-rb91x.o
136 obj-
$(CONFIG_ATH79_MACH_RB922
) += mach-rb922.o
137 obj-
$(CONFIG_ATH79_MACH_RB95X
) += mach-rb95x.o
138 obj-
$(CONFIG_ATH79_MACH_RB2011
) += mach-rb2011.o
139 obj-
$(CONFIG_ATH79_MACH_RBSXTLITE
) += mach-rbsxtlite.o
140 obj-
$(CONFIG_ATH79_MACH_RW2458N
) += mach-rw2458n.o
141 obj-
$(CONFIG_ATH79_MACH_SMART_300
) += mach-smart-300.o
142 obj-
$(CONFIG_ATH79_MACH_SOM9331
) += mach-som9331.o
143 obj-
$(CONFIG_ATH79_MACH_TELLSTICK_ZNET_LITE
) += mach-tellstick-znet-lite.o
144 obj-
$(CONFIG_ATH79_MACH_TEW_632BRP
) += mach-tew-632brp.o
145 obj-
$(CONFIG_ATH79_MACH_TEW_673GRU
) += mach-tew-673gru.o
146 obj-
$(CONFIG_ATH79_MACH_TEW_712BR
) += mach-tew-712br.o
147 obj-
$(CONFIG_ATH79_MACH_TEW_732BR
) += mach-tew-732br.o
148 obj-
$(CONFIG_ATH79_MACH_TEW_823DRU
) += mach-tew-823dru.o
149 obj-
$(CONFIG_ATH79_MACH_TL_MR11U
) += mach-tl-mr11u.o
150 obj-
$(CONFIG_ATH79_MACH_TL_MR13U
) += mach-tl-mr13u.o
151 obj-
$(CONFIG_ATH79_MACH_TL_MR3020
) += mach-tl-mr3020.o
152 obj-
$(CONFIG_ATH79_MACH_TL_MR3X20
) += mach-tl-mr3x20.o
153 obj-
$(CONFIG_ATH79_MACH_TL_WAX50RE
) += mach-tl-wax50re.o
154 obj-
$(CONFIG_ATH79_MACH_TL_WA701ND_V2
) += mach-tl-wa701nd-v2.o
155 obj-
$(CONFIG_ATH79_MACH_TL_WA7210N_V2
) += mach-tl-wa7210n-v2.o
156 obj-
$(CONFIG_ATH79_MACH_TL_WA830RE_V2
) += mach-tl-wa830re-v2.o
157 obj-
$(CONFIG_ATH79_MACH_TL_WA801ND_V3
) += mach-tl-wa801nd-v3.o
158 obj-
$(CONFIG_ATH79_MACH_TL_WA901ND
) += mach-tl-wa901nd.o
159 obj-
$(CONFIG_ATH79_MACH_TL_WA901ND_V2
) += mach-tl-wa901nd-v2.o
160 obj-
$(CONFIG_ATH79_MACH_TL_WA901ND_V4
) += mach-tl-wa901nd-v4.o
161 obj-
$(CONFIG_ATH79_MACH_TL_WDR3320_V2
) += mach-tl-wdr3320-v2.o
162 obj-
$(CONFIG_ATH79_MACH_TL_WDR3500
) += mach-tl-wdr3500.o
163 obj-
$(CONFIG_ATH79_MACH_TL_WDR4300
) += mach-tl-wdr4300.o
164 obj-
$(CONFIG_ATH79_MACH_TL_WDR6500_V2
) += mach-tl-wdr6500-v2.o
165 obj-
$(CONFIG_ATH79_MACH_TL_WR741ND
) += mach-tl-wr741nd.o
166 obj-
$(CONFIG_ATH79_MACH_TL_WR741ND_V4
) += mach-tl-wr741nd-v4.o
167 obj-
$(CONFIG_ATH79_MACH_TL_WR810N
) += mach-tl-wr810n.o
168 obj-
$(CONFIG_ATH79_MACH_TL_WR841N_V1
) += mach-tl-wr841n.o
169 obj-
$(CONFIG_ATH79_MACH_TL_WR841N_V8
) += mach-tl-wr841n-v8.o
170 obj-
$(CONFIG_ATH79_MACH_TL_WR841N_V9
) += mach-tl-wr841n-v9.o
171 obj-
$(CONFIG_ATH79_MACH_TL_WR941ND
) += mach-tl-wr941nd.o
172 obj-
$(CONFIG_ATH79_MACH_TL_WR941ND_V6
) += mach-tl-wr941nd-v6.o
173 obj-
$(CONFIG_ATH79_MACH_TL_WR1041N_V2
) += mach-tl-wr1041n-v2.o
174 obj-
$(CONFIG_ATH79_MACH_TL_WR1043ND
) += mach-tl-wr1043nd.o
175 obj-
$(CONFIG_ATH79_MACH_TL_WR1043ND_V2
) += mach-tl-wr1043nd-v2.o
176 obj-
$(CONFIG_ATH79_MACH_TL_WR2543N
) += mach-tl-wr2543n.o
177 obj-
$(CONFIG_ATH79_MACH_TL_WR703N
) += mach-tl-wr703n.o
178 obj-
$(CONFIG_ATH79_MACH_TL_WR720N_V3
) += mach-tl-wr720n-v3.o
179 obj-
$(CONFIG_ATH79_MACH_TUBE2H
) += mach-tube2h.o
180 obj-
$(CONFIG_ATH79_MACH_UBNT
) += mach-ubnt.o
181 obj-
$(CONFIG_ATH79_MACH_UBNT_XM
) += mach-ubnt-xm.o
182 obj-
$(CONFIG_ATH79_MACH_UBNT_UNIFIAC
) += mach-ubnt-unifiac.o
183 obj-
$(CONFIG_ATH79_MACH_WEIO
) += mach-weio.o
184 obj-
$(CONFIG_ATH79_MACH_WHR_HP_G300N
) += mach-whr-hp-g300n.o
185 obj-
$(CONFIG_ATH79_MACH_WLAE_AG300N
) += mach-wlae-ag300n.o
186 obj-
$(CONFIG_ATH79_MACH_WLR8100
) += mach-wlr8100.o
187 obj-
$(CONFIG_ATH79_MACH_WNDAP360
) += mach-wndap360.o
188 obj-
$(CONFIG_ATH79_MACH_WNDR3700
) += mach-wndr3700.o
189 obj-
$(CONFIG_ATH79_MACH_WNDR4300
) += mach-wndr4300.o
190 obj-
$(CONFIG_ATH79_MACH_WNR2000
) += mach-wnr2000.o
191 obj-
$(CONFIG_ATH79_MACH_WNR2000_V3
) += mach-wnr2000-v3.o
192 obj-
$(CONFIG_ATH79_MACH_WNR2000_V4
) += mach-wnr2000-v4.o
193 obj-
$(CONFIG_ATH79_MACH_WNR2200
) += mach-wnr2200.o
194 obj-
$(CONFIG_ATH79_MACH_WP543
) += mach-wp543.o
195 obj-
$(CONFIG_ATH79_MACH_WPE72
) += mach-wpe72.o
196 obj-
$(CONFIG_ATH79_MACH_WPJ342
) += mach-wpj342.o
197 obj-
$(CONFIG_ATH79_MACH_WPJ344
) += mach-wpj344.o
198 obj-
$(CONFIG_ATH79_MACH_WPJ531
) += mach-wpj531.o
199 obj-
$(CONFIG_ATH79_MACH_WPJ558
) += mach-wpj558.o
200 obj-
$(CONFIG_ATH79_MACH_WRT160NL
) += mach-wrt160nl.o
201 obj-
$(CONFIG_ATH79_MACH_WRT400N
) += mach-wrt400n.o
202 obj-
$(CONFIG_ATH79_MACH_WRTNODE2Q
) += mach-wrtnode2q.o
203 obj-
$(CONFIG_ATH79_MACH_WZR_HP_G300NH
) += mach-wzr-hp-g300nh.o
204 obj-
$(CONFIG_ATH79_MACH_WZR_HP_G300NH2
) += mach-wzr-hp-g300nh2.o
205 obj-
$(CONFIG_ATH79_MACH_WZR_HP_AG300H
) += mach-wzr-hp-ag300h.o
206 obj-
$(CONFIG_ATH79_MACH_WZR_HP_G450H
) += mach-wzr-hp-g450h.o
207 obj-
$(CONFIG_ATH79_MACH_WZR_450HP2
) += mach-wzr-450hp2.o
208 obj-
$(CONFIG_ATH79_MACH_ZBT_WE1526
) += mach-zbt-we1526.o
209 obj-
$(CONFIG_ATH79_MACH_ZCN_1523H
) += mach-zcn-1523h.o
210 obj-
$(CONFIG_ATH79_MACH_CARAMBOLA2
) += mach-carambola2.o
211 obj-
$(CONFIG_ATH79_MACH_NBG6716
) += mach-nbg6716.o