2009-01-02 07:12:46 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2008 OpenWrt.org
|
2007-12-21 00:29:45 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=mips
|
|
|
|
BOARD:=ifxmips
|
|
|
|
BOARDNAME:=Infineon Mips
|
2008-05-11 17:31:18 +03:00
|
|
|
FEATURES:=squashfs jffs2
|
2009-03-04 16:46:02 +02:00
|
|
|
|
2009-05-03 19:58:06 +03:00
|
|
|
LINUX_VERSION:=2.6.28.10
|
2007-12-21 00:29:45 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2009-01-02 07:12:46 +02:00
|
|
|
DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini
|
2007-12-21 00:29:45 +02:00
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build firmware images for Infineon Mips Controllers
|
|
|
|
endef
|
|
|
|
|
2009-03-04 16:46:02 +02:00
|
|
|
ifeq ($(KERNEL_PATCHVER),2.6.28)
|
|
|
|
define Kernel/Prepare
|
|
|
|
$(call Kernel/Prepare/Default)
|
|
|
|
mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
2007-12-21 00:29:45 +02:00
|
|
|
$(eval $(call BuildTarget))
|