#
-# Copyright (C) 2006 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.
#
+
include $(TOPDIR)/rules.mk
-ARCH:=mipsel
BOARD:=adm5120
-BOARDNAME:=ADM5120 (Little Endian)
-FEATURES:=squashfs jffs2 tgz broken
-
-LINUX_VERSION:=2.6.22.4
+BOARDNAME:=Infineon/ADMtek ADM5120
+LINUX_VERSION:=2.6.26.8
+SUBTARGETS:=router_le router_be
+INITRAMFS_EXTRA_FILES:=
-define Target/Description
- Build firmware images for Infineon/ADMtek ADM5120 based boards
- (e.g : RouterBoard RB1xx, Compex WP54G-WRT ...)
-endef
+include $(INCLUDE_DIR)/target.mk
-include $(INCLUDE_DIR)/kernel-build.mk
DEFAULT_PACKAGES += admswconfig
+DEFAULT_PACKAGES += \
+ kmod-input-core \
+ kmod-input-polldev \
+ kmod-input-gpio-buttons \
+ kmod-button-hotplug
-# include the profiles
--include profiles/*.mk
-
-$(eval $(call BuildKernel))
+$(eval $(call BuildTarget))