rootfs.mk 600 B

12345678910111213141516171819
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. define rootfs_template
  4. ifeq ($(ADK_TARGET_ROOTFS_$(2)),y)
  5. FS:=$(1)
  6. FS_CMDLINE:=$(3)
  7. endif
  8. endef
  9. $(eval $(call rootfs_template,ext2-cf,EXT2_CF))
  10. $(eval $(call rootfs_template,ext2-mmc,EXT2_MMC))
  11. $(eval $(call rootfs_template,ext2,EXT2))
  12. $(eval $(call rootfs_template,initramfs,INITRAMFS))
  13. $(eval $(call rootfs_template,squashfs,SQUASHFS))
  14. $(eval $(call rootfs_template,yaffs,YAFFS))
  15. $(eval $(call rootfs_template,nfsroot,NFSROOT,root=/dev/nfs ip=dhcp))
  16. export FS