2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 FEATURES
:=squashfs jffs2
14 define Target
/Description
15 Build firmware images for RDC3211 based routers
16 (e.g. Airlink101 AR525W
, Linksys WRT54R
)
19 include $(INCLUDE_DIR
)/kernel-build.mk
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
/
29 # include the profiles
30 -include profiles
/*.mk
32 $(eval
$(call BuildKernel
))