Makefile 655 B

123456789101112131415161718192021222324252627282930
  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
  12. LINUX_VERSION:=2.6.28.9
  13. include $(INCLUDE_DIR)/target.mk
  14. DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini
  15. define Target/Description
  16. Build firmware images for Infineon Mips Controllers
  17. endef
  18. ifeq ($(KERNEL_PATCHVER),2.6.28)
  19. define Kernel/Prepare
  20. $(call Kernel/Prepare/Default)
  21. mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
  22. endef
  23. endif
  24. $(eval $(call BuildTarget))