Makefile 751 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 AR7xxx/AR9xxx
  11. FEATURES:=squashfs targz mips16
  12. CFLAGS:=-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely
  13. SUBTARGETS:=generic nand
  14. LINUX_VERSION:=3.8.13
  15. include $(INCLUDE_DIR)/target.mk
  16. DEFAULT_PACKAGES += \
  17. kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \
  18. kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
  19. kmod-ath9k wpad-mini uboot-envtools
  20. define Target/Description
  21. Build firmware images for Atheros AR7xxx/AR9xxx based boards.
  22. endef
  23. $(eval $(call BuildTarget))