1
0

rootfs.mk 610 B

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