#
-# Copyright (C) 2007-2010 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
ARCH:=mips
BOARD:=lantiq
BOARDNAME:=Lantiq GPON/XWAY
-FEATURES:=squashfs jffs2 atm
-SUBTARGETS:=xway
+FEATURES:=squashfs jffs2
+DEFAULT_SUBTARGET:=danube
-LINUX_VERSION:=2.6.35.9
+LINUX_VERSION:=2.6.39.2
-CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time
-
-include $(INCLUDE_DIR)/target.mk
+CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
define Target/Description
Build firmware images for Lantiq SoC
endef
+include $(INCLUDE_DIR)/target.mk
+
$(eval $(call BuildTarget))