fix isolate mode
[openwrt.git] / target / linux / rdc-2.6 / 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 x86
12 FEATURES:=squashfs jffs2 pci
13
14 define Target/Description
15 Build firmware images for RDC3211 based routers
16 (e.g. Airlink101 AR525W, Linksys WRT54R)
17 endef
18
19 include $(INCLUDE_DIR)/kernel-build.mk
20
21 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
22 define Kernel/SetInitramfs
23 rm -f $(BUILD_DIR)/root/sbin/init
24 ln -s /etc/preinit $(BUILD_DIR)/root/sbin/init
25 $(CP) $(PLATFORM_DIR)/image/preinit.arch $(BUILD_DIR)/root/etc/
26 endef
27 endif
28
29 # include the profiles
30 -include profiles/*.mk
31
32 $(eval $(call BuildKernel))
This page took 0.097884 seconds and 5 git commands to generate.