Makefile 703 B

12345678910111213141516171819202122232425262728
  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:=mipsel
  9. BOARD:=ramips
  10. BOARDNAME:=Ralink RT288x/RT3xxx
  11. SUBTARGETS:=rt288x rt305x rt3883 mt7620a
  12. CFLAGS:=-Os -pipe -fno-caller-saves -mno-branch-likely
  13. FEATURES:=squashfs gpio
  14. LINUX_VERSION:=3.9.8
  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 \
  19. kmod-rt2800-pci wpad-mini swconfig
  20. define Target/Description
  21. Build firmware images for Ralink RT288x/RT3xxx based boards.
  22. endef
  23. $(eval $(call BuildTarget))