Move all filesystem generation code to fs/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni
2010-03-10 22:30:06 +01:00
parent 325bfd1cba
commit 0585241505
30 changed files with 37 additions and 34 deletions

5
fs/romfs/Config.in Normal file
View File

@@ -0,0 +1,5 @@
config BR2_TARGET_ROOTFS_ROMFS
bool "romfs root filesystem"
help
Build a romfs image of the root filesystem.

15
fs/romfs/romfs.mk Normal file
View File

@@ -0,0 +1,15 @@
#############################################################
#
# Build the romfs root filesystem image
#
#############################################################
ROMFS_TARGET=$(IMAGE).romfs
ROOTFS_ROMFS_DEPENDENCIES = host-genromfs
define ROOTFS_ROMFS_CMD
$(HOST_DIR)/usr/bin/genromfs -d $(TARGET_DIR) -f $$@
endef
$(eval $(call ROOTFS_TARGET,romfs))