Makefile 634 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2006 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:=amazon
  10. BOARDNAME:=Infineon Amazon
  11. FEATURES:=squashfs jffs2 broken
  12. LINUX_VERSION:=3.3.8
  13. include $(INCLUDE_DIR)/target.mk
  14. define Target/Description
  15. Build firmware images for Infineon Amazon boards
  16. endef
  17. define Kernel/Prepare
  18. $(call Kernel/Prepare/Default)
  19. mkdir -p $(LINUX_DIR)/arch/mips/include/asm/amazon
  20. $(CP) $(LINUX_DIR)/include/asm-mips/amazon/*.h $(LINUX_DIR)/arch/mips/include/asm/amazon
  21. endef
  22. $(eval $(call BuildTarget))