Makefile 663 B

123456789101112131415161718192021222324252627
  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/RT305x
  11. SUBTARGETS:=rt288x rt305x
  12. CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
  13. FEATURES:=squashfs
  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 kmod-gpio-buttons \
  18. kmod-button-hotplug wpad-mini maccalc
  19. define Target/Description
  20. Build firmware images for Ralink RT288x/RT305x based boards.
  21. endef
  22. $(eval $(call BuildTarget))