adds dsl support, thank you infineon/lantiq
[librecmc/librecmc.git] / target / linux / ifxmips / Makefile
index eee0d44e919124d8d8f016091d5bec9de37c7200..14ee8831f01f9f2d61bc9653049d11261509e3cf 100644 (file)
@@ -9,22 +9,17 @@ include $(TOPDIR)/rules.mk
 ARCH:=mips
 BOARD:=ifxmips
 BOARDNAME:=Infineon Mips
-FEATURES:=squashfs jffs2
+FEATURES:=squashfs jffs2 atm
 
-LINUX_VERSION:=2.6.28.10
+LINUX_VERSION:=2.6.30.9
+
+CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time
 
 include $(INCLUDE_DIR)/target.mk
-DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini
+DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl ifxmips-dsl-api ifxmips-dsl-control
 
 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))