2.6.24 moved watchdog drivers to drivers/watchdog
[openwrt.git] / target / linux / rdc / Makefile
1 #
2 # Copyright (C) 2006 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
13
14 LINUX_VERSION:=2.6.24.7
15
16 include $(INCLUDE_DIR)/target.mk
17
18 define Target/Description
19 Build firmware images for RDC321x based routers
20 (e.g. Airlink101 AR525W, Linksys WRT54R, Sitecom WL-153)
21 endef
22
23 ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
24 define Kernel/SetInitramfs
25 echo "r6040 parent=wlan0" > $(TARGET_DIR)/etc/modules.d/99-r6040
26 $(RM) $(TARGET_DIR)/sbin/init
27 ln -s /etc/preinit $(TARGET_DIR)/sbin/init
28 sed -i 's,exec /sbin/init,exec /bin/busybox init,g' $(TARGET_DIR)/etc/preinit
29 sed -i 's,/sbin/init,/bin/busybox init,g' $(TARGET_DIR)/init
30 mv $(TARGET_DIR)/init $(TARGET_DIR)/linuxrc
31 sed -i 's,eth0,eth1,g' $(TARGET_DIR)/etc/config/network
32 endef
33 endif
34
35 $(eval $(call BuildTarget))
This page took 0.048153 seconds and 5 git commands to generate.