[rdc] rework board detection
[openwrt-10.03/.git] / target / linux / rdc / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=i386
10 BOARD:=rdc
11 BOARDNAME:=RDC 321x
12 FEATURES:=squashfs jffs2 pci usb pcmcia
13 CFLAGS:=-Os -pipe -march=i486 -funit-at-a-time
14 SUBTARGETS:=ar525w r8610 sitecom bifferboard
15
16 LINUX_VERSION:=2.6.30.10
17
18 include $(INCLUDE_DIR)/target.mk
19
20 DEFAULT_PACKAGES += wpad-mini kmod-r6040 kmod-input-core \
21                     kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug
22
23 define Target/Description
24         Build firmware images for RDC321x based routers
25         (e.g. Airlink101 AR525W, Linksys WRT54GR, Sitecom WL-153)
26 endef
27
28 $(eval $(call BuildTarget))