X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41ac39db861209f0712553283a803959c64e1e46..8bed46152973fc1996eeb49a21769cd9f76f0569:/target/linux/ifxmips/Makefile?ds=sidebyside

diff --git a/target/linux/ifxmips/Makefile b/target/linux/ifxmips/Makefile
index e63ad086c..eee0d44e9 100644
--- a/target/linux/ifxmips/Makefile
+++ b/target/linux/ifxmips/Makefile
@@ -1,5 +1,5 @@
-# 
-# Copyright (C) 2007 OpenWrt.org
+#
+# Copyright (C) 2007-2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,13 +9,22 @@ include $(TOPDIR)/rules.mk
 ARCH:=mips
 BOARD:=ifxmips
 BOARDNAME:=Infineon Mips
-FEATURES:=squashfs jffs2 broken
-LINUX_VERSION:=2.6.23.16
+FEATURES:=squashfs jffs2
+
+LINUX_VERSION:=2.6.28.10
 
 include $(INCLUDE_DIR)/target.mk
+DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini
 
 define Target/Description
 	Build firmware images for Infineon Mips Controllers
 endef
 
+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
+
 $(eval $(call BuildTarget))