2006-10-16 01:34:22 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2006-11-12 00:11:02 +01:00
|
|
|
ARCH:=i386
|
|
|
|
BOARD:=rdc
|
|
|
|
BOARDNAME:=RDC x86
|
2007-05-26 01:41:07 +02:00
|
|
|
FEATURES:=squashfs jffs2 pci broken
|
2006-11-12 00:11:02 +01:00
|
|
|
|
2007-06-28 07:52:00 +02:00
|
|
|
LINUX_VERSION:=2.6.21.5
|
|
|
|
|
2006-11-12 20:11:21 +01:00
|
|
|
define Target/Description
|
|
|
|
Build firmware images for RDC3211 based routers
|
2007-04-16 23:46:44 +02:00
|
|
|
(e.g. Airlink101 AR525W, Linksys WRT54R)
|
2006-11-12 20:11:21 +01:00
|
|
|
endef
|
|
|
|
|
2006-10-16 01:34:22 +02:00
|
|
|
include $(INCLUDE_DIR)/kernel-build.mk
|
2006-12-11 18:55:49 +01:00
|
|
|
|
2007-04-16 23:46:44 +02:00
|
|
|
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
|
|
|
|
define Kernel/SetInitramfs
|
|
|
|
rm -f $(BUILD_DIR)/root/sbin/init
|
2007-04-17 20:38:43 +02:00
|
|
|
ln -s /etc/preinit $(BUILD_DIR)/root/sbin/init
|
2007-04-16 23:46:44 +02:00
|
|
|
$(CP) $(PLATFORM_DIR)/image/preinit.arch $(BUILD_DIR)/root/etc/
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
2007-03-03 00:02:38 +01:00
|
|
|
# include the profiles
|
|
|
|
-include profiles/*.mk
|
2006-12-11 18:55:49 +01:00
|
|
|
|
2006-10-19 08:20:55 +02:00
|
|
|
$(eval $(call BuildKernel))
|