2 # Copyright (C) 2007,2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 define Image
/cmdline
/yaffs2
10 root
=/dev
/mtdblock3 rootfstype
=yaffs2
13 define Image
/BuildKernel
/RouterBoard
14 $(CP
) $(KDIR
)/vmlinux-initramfs.elf
$(call imgname
,kernel-initramfs
,rb1xx
)
15 $(STAGING_DIR_HOST
)/bin
/patch-cmdline
$(call imgname
,kernel-initramfs
,rb1xx
) \
16 '$(strip $(call Image/cmdline/yaffs2))'
19 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),y
)
20 define Image
/BuildKernel
21 $(call Image
/BuildKernel
/RouterBoard
)