Makefile 719 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (C) 2007-2008 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:=ifxmips
  10. BOARDNAME:=Infineon Mips
  11. FEATURES:=squashfs jffs2 atm
  12. LINUX_VERSION:=2.6.30.8
  13. include $(INCLUDE_DIR)/target.mk
  14. DEFAULT_PACKAGES+=uboot-ifxmips
  15. #kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl kmod-ifxmips-atm
  16. define Target/Description
  17. Build firmware images for Infineon Mips Controllers
  18. endef
  19. ifeq ($(KERNEL_PATCHVER),2.6.28)
  20. define Kernel/Prepare
  21. $(call Kernel/Prepare/Default)
  22. mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
  23. endef
  24. endif
  25. $(eval $(call BuildTarget))