1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 ifeq ($(ADK_TARGET_ROOTFS_
$(2)),y
)
11 ifeq ($(ADK_TARGET_QEMU
),y
)
12 MTDDEV
:= root
=/dev
/mtdblock0
13 ifeq ($(ADK_TARGET_ROOTFS_ARCHIVE
),y
)
14 ifeq ($(ADK_TARGET_QEMU_WITH_VIRTIO
),y
)
15 ROOTFS
:= root
=/dev
/vda1
17 ROOTFS
:= root
=/dev
/sda1 rootwait
20 ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
),y
)
21 ROOTFS
:= root
=/dev
/mmcblk0p1
25 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB532
),y
)
26 ROOTFS
:= root
=/dev
/sda2
27 MTDDEV
:= root
=/dev
/mtdblock1
30 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
),y
)
31 MTDDEV
:= root
=/dev
/mtdblock7
34 ifeq ($(ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
),y
)
35 ROOTFS
:= root
=/dev
/mmcblk0p2 rootwait
38 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS
),y
)
39 ROOTFS
:= root
=/dev
/sda1 rootwait
42 ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI
),y
)
43 ROOTFS
:= root
=/dev
/mmcblk0p2 rootwait
46 ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
),y
)
47 ROOTFS
:= root
=/dev
/mmcblk0p1 rootwait
50 ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG
),y
)
51 USB
:= rootwait root
=/dev
/sdb1
56 $(eval
$(call rootfs_template
,usb
,USB
,$(USB
)))
57 $(eval
$(call rootfs_template
,archive
,ARCHIVE
,$(ROOTFS
)))
58 $(eval
$(call rootfs_template
,initramfs
,INITRAMFS
,rootfstype
=tmpfs
))
59 $(eval
$(call rootfs_template
,initramfspiggyback
,INITRAMFSPIGGYBACK
,rootfstype
=tmpfs
))
60 $(eval
$(call rootfs_template
,initramfsarchive
,INITRAMFSARCHIVE
,rootfstype
=tmpfs
))
61 $(eval
$(call rootfs_template
,squashfs
,SQUASHFS
,$(MTDDEV
) rootfstype
=squashfs
))
62 $(eval
$(call rootfs_template
,yaffs
,YAFFS
,$(MTDDEV
) panic
=3))
63 $(eval
$(call rootfs_template
,jffs2
,JFFS2
,$(MTDDEV
) rootfstype
=jffs2
))
64 $(eval
$(call rootfs_template
,nfsroot
,NFSROOT
,root
=/dev
/nfs ip
=dhcp
))
65 $(eval
$(call rootfs_template
,encrypted
,ENCRYPTED
))
66 $(eval
$(call rootfs_template
,iso
,ISO
))
67 $(eval
$(call rootfs_template
,genimage
,GENIMAGE
))