adds dsl support, thank you infineon/lantiq
[librecmc/librecmc.git] / target / linux / ifxmips / Makefile
index 2d11972020631966cbb768ae62602da717ae1f8c..14ee8831f01f9f2d61bc9653049d11261509e3cf 100644 (file)
@@ -13,19 +13,13 @@ FEATURES:=squashfs jffs2 atm
 
 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
-#kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl kmod-ifxmips-atm
+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))