Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Makefile for the Atheros AR71XX/AR724X/AR913X specific parts of the kernel
  3. #
  4. # Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
  5. # Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
  6. #
  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.
  10. obj-y := prom.o setup.o irq.o common.o clock.o gpio.o
  11. obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  12. obj-$(CONFIG_PCI) += pci.o
  13. #
  14. # Devices
  15. #
  16. obj-y += dev-common.o
  17. obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
  18. obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o
  19. obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o
  20. obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o
  21. obj-$(CONFIG_ATH79_DEV_WMAC) += dev-wmac.o
  22. #
  23. # Machines
  24. #
  25. obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
  26. obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
  27. obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
  28. obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
  29. obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
  30. obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o