| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.define rootfs_templateifeq ($(ADK_TARGET_ROOTFS_$(2)),y)ADK_TARGET_FS:=$(1)FS_CMDLINE:=$(3)endifendefifeq ($(ADK_HARDWARE_QEMU),y)ifeq ($(ADK_TARGET_ROOTFS_ARCHIVE),y)ROOTFS:=	root=/dev/sda1endifendififeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB532),y)ROOTFS:=	root=/dev/sda2MTDDEV:=	root=/dev/mtdblock1endififeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB4XX),y)MTDDEV:=	root=/dev/mtdblock2endififeq ($(ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20),y)ROOTFS:=	root=/dev/mmcblk0p2 rootwaitendififeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)ROOTFS:=	root=/dev/sda1 rootwaitendififeq ($(ADK_TARGET_SYSTEM_FOXBOARD_LX),y)ROOTFS:=	root=/dev/mtdblock1endififeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)USB:=		rootwaitelseUSB:=		rootdelay=2endif$(eval $(call rootfs_template,cf,CF,$(ROOTFS)))$(eval $(call rootfs_template,mmc,MMC,$(ROOTFS)))$(eval $(call rootfs_template,usb,USB,$(USB)))$(eval $(call rootfs_template,archive,ARCHIVE,$(ROOTFS)))$(eval $(call rootfs_template,initramfs,INITRAMFS))$(eval $(call rootfs_template,initramfs-piggyback,INITRAMFS_PIGGYBACK))$(eval $(call rootfs_template,squashfs,SQUASHFS,$(ROOTFS)))$(eval $(call rootfs_template,yaffs,YAFFS,$(MTDDEV) panic=3))$(eval $(call rootfs_template,nfsroot,NFSROOT,root=/dev/nfs ip=dhcp init=/init))$(eval $(call rootfs_template,encrypted,ENCRYPTED))export ADK_TARGET_FS
 |