Makefile 644 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2008-2009 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
  11. FEATURES:=squashfs jffs2 tgz
  12. CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time
  13. LINUX_VERSION:=2.6.30.8
  14. include $(INCLUDE_DIR)/target.mk
  15. DEFAULT_PACKAGES += \
  16. kmod-leds-gpio kmod-input-core kmod-input-polldev \
  17. kmod-input-gpio-buttons kmod-button-hotplug
  18. define Target/Description
  19. Build firmware images for Atheros AR71xx/AR913x based boards.
  20. endef
  21. $(eval $(call BuildTarget))