Makefile 723 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # Copyright (C) 2008-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. ARCH:=mips
  9. BOARD:=ar71xx
  10. BOARDNAME:=Atheros AR71xx/AR7240/AR913x/AR934x
  11. FEATURES:=squashfs jffs2 targz
  12. CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
  13. SUBTARGETS:=generic nand
  14. LINUX_VERSION:=2.6.39.4
  15. include $(INCLUDE_DIR)/target.mk
  16. DEFAULT_PACKAGES += \
  17. kmod-leds-gpio kmod-input-core kmod-input-polldev \
  18. kmod-input-gpio-keys-polled kmod-button-hotplug swconfig \
  19. kmod-ath9k wpad-mini
  20. define Target/Description
  21. Build firmware images for Atheros AR71xx/AR913x/AR934x based boards.
  22. endef
  23. $(eval $(call BuildTarget))