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:
6
fs/cramfs/Config.in
Normal file
6
fs/cramfs/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_TARGET_ROOTFS_CRAMFS
|
||||
bool "cramfs root filesystem"
|
||||
help
|
||||
Build a cramfs root filesystem
|
||||
|
||||
http://sourceforge.net/projects/cramfs/
|
||||
22
fs/cramfs/cramfs.mk
Normal file
22
fs/cramfs/cramfs.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the cramfs root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_ENDIAN),"BIG")
|
||||
CRAMFS_OPTS=-b
|
||||
else
|
||||
CRAMFS_OPTS=-l
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
||||
CRAMFS_OPTS += -D $(TARGET_DEVICE_TABLE)
|
||||
endif
|
||||
|
||||
define ROOTFS_CRAMFS_CMD
|
||||
$(HOST_DIR)/usr/bin/mkcramfs -q $(CRAMFS_OPTS) $(TARGET_DIR) $$@
|
||||
endef
|
||||
|
||||
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,cramfs))
|
||||
Reference in New Issue
Block a user