#
-# 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.
BOARD:=lantiq
BOARDNAME:=Lantiq GPON/XWAY
FEATURES:=squashfs jffs2
-SUBTARGETS:=falcon xway
+DEFAULT_SUBTARGET:=danube
-LINUX_VERSION:=2.6.37.2
+LINUX_VERSION:=3.1.10
-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))