#
# Makefile for the Atheros AR71xx SoC specific parts of the kernel
#
# Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
# Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
# by the Free Software Foundation.

obj-y	:= prom.o irq.o setup.o devices.o gpio.o ar71xx.o

obj-$(CONFIG_EARLY_PRINTK)		+= early_printk.o
obj-$(CONFIG_PCI)			+= pci.o

obj-$(CONFIG_AR71XX_DEV_AP91_PCI)	+= dev-ap91-pci.o
obj-$(CONFIG_AR71XX_DEV_AP94_PCI)	+= dev-ap94-pci.o
obj-$(CONFIG_AR71XX_DEV_AR9XXX_WMAC)	+= dev-ar9xxx-wmac.o
obj-$(CONFIG_AR71XX_DEV_DB120_PCI)	+= dev-db120-pci.o
obj-$(CONFIG_AR71XX_DEV_DSA)		+= dev-dsa.o
obj-$(CONFIG_AR71XX_DEV_GPIO_BUTTONS)	+= dev-gpio-buttons.o
obj-$(CONFIG_AR71XX_DEV_LEDS_GPIO)	+= dev-leds-gpio.o
obj-$(CONFIG_AR71XX_DEV_M25P80)		+= dev-m25p80.o
obj-$(CONFIG_AR71XX_DEV_PB42_PCI)	+= dev-pb42-pci.o
obj-$(CONFIG_AR71XX_DEV_PB9X_PCI)	+= dev-pb9x-pci.o
obj-$(CONFIG_AR71XX_DEV_USB)		+= dev-usb.o

obj-$(CONFIG_AR71XX_NVRAM)		+= nvram.o
obj-$(CONFIG_AR71XX_PCI_ATH9K_FIXUP)	+= pci-ath9k-fixup.o

obj-$(CONFIG_AR71XX_MACH_AP81)		+= mach-ap81.o
obj-$(CONFIG_AR71XX_MACH_AP83)		+= mach-ap83.o
obj-$(CONFIG_AR71XX_MACH_AP96)		+= mach-ap96.o
obj-$(CONFIG_AR71XX_MACH_AW_NR580)	+= mach-aw-nr580.o
obj-$(CONFIG_AR71XX_MACH_DB120)	+= mach-db120.o
obj-$(CONFIG_AR71XX_MACH_DIR_600_A1)	+= mach-dir-600-a1.o
obj-$(CONFIG_AR71XX_MACH_DIR_615_C1)	+= mach-dir-615-c1.o
obj-$(CONFIG_AR71XX_MACH_DIR_825_B1)	+= mach-dir-825-b1.o
obj-$(CONFIG_AR71XX_MACH_EAP7660D)	+= mach-eap7660d.o
obj-$(CONFIG_AR71XX_MACH_JA76PF)	+= mach-ja76pf.o
obj-$(CONFIG_AR71XX_MACH_JWAP003)	+= mach-jwap003.o
obj-$(CONFIG_AR71XX_MACH_MZK_W04NU)	+= mach-mzk-w04nu.o
obj-$(CONFIG_AR71XX_MACH_MZK_W300NH)	+= mach-mzk-w300nh.o
obj-$(CONFIG_AR71XX_MACH_NBG460N)	+= mach-nbg460n.o
obj-$(CONFIG_AR71XX_MACH_PB42)		+= mach-pb42.o
obj-$(CONFIG_AR71XX_MACH_PB44)		+= mach-pb44.o
obj-$(CONFIG_AR71XX_MACH_PB92)		+= mach-pb92.o
obj-$(CONFIG_AR71XX_MACH_RB4XX)		+= mach-rb4xx.o
obj-$(CONFIG_AR71XX_MACH_RB750)		+= mach-rb750.o
obj-$(CONFIG_AR71XX_MACH_TEW_632BRP)	+= mach-tew-632brp.o
obj-$(CONFIG_AR71XX_MACH_TL_MR3X20)	+= mach-tl-mr3x20.o
obj-$(CONFIG_AR71XX_MACH_TL_WA901ND)	+= mach-tl-wa901nd.o
obj-$(CONFIG_AR71XX_MACH_TL_WA901ND_V2)	+= mach-tl-wa901nd-v2.o
obj-$(CONFIG_AR71XX_MACH_TL_WR741ND)	+= mach-tl-wr741nd.o
obj-$(CONFIG_AR71XX_MACH_TL_WR841N_V1)	+= mach-tl-wr841n.o
obj-$(CONFIG_AR71XX_MACH_TL_WR941ND)	+= mach-tl-wr941nd.o
obj-$(CONFIG_AR71XX_MACH_TL_WR1043ND)	+= mach-tl-wr1043nd.o
obj-$(CONFIG_AR71XX_MACH_UBNT)		+= mach-ubnt.o
obj-$(CONFIG_AR71XX_MACH_WNDR3700)	+= mach-wndr3700.o
obj-$(CONFIG_AR71XX_MACH_WNR2000)	+= mach-wnr2000.o
obj-$(CONFIG_AR71XX_MACH_WP543)		+= mach-wp543.o
obj-$(CONFIG_AR71XX_MACH_WRT160NL)	+= mach-wrt160nl.o
obj-$(CONFIG_AR71XX_MACH_WRT400N)	+= mach-wrt400n.o
obj-$(CONFIG_AR71XX_MACH_WZR_HP_G300NH)	+= mach-wzr-hp-g300nh.o
obj-$(CONFIG_AR71XX_MACH_ZCN_1523H)	+= mach-zcn-1523h.o
