mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
265aee8c51
Cramfs now has the ability to XIP all ELF files. Cc: Nicolas Pitre <nico@linaro.org> Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
553 B
Makefile
28 lines
553 B
Makefile
################################################################################
|
|
#
|
|
# Build the cramfs root filesystem image
|
|
#
|
|
################################################################################
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
CRAMFS_OPTS = -B
|
|
else
|
|
CRAMFS_OPTS = -L
|
|
endif
|
|
|
|
ifeq ($(BR2_TARGET_ROOTFS_CRAMFS_XIP),y)
|
|
ifeq ($(BR2_USE_MMU),y)
|
|
CRAMFS_OPTS += -X -X
|
|
else
|
|
CRAMFS_OPTS += -X
|
|
endif
|
|
endif
|
|
|
|
define ROOTFS_CRAMFS_CMD
|
|
$(HOST_DIR)/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
|
|
endef
|
|
|
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
|
|
|
$(eval $(rootfs))
|