mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
Move all filesystem generation code to fs/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
5
fs/romfs/Config.in
Normal file
5
fs/romfs/Config.in
Normal 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
15
fs/romfs/romfs.mk
Normal 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))
|
||||
Reference in New Issue
Block a user