kumquat-buildroot/fs/cramfs/cramfs.mk

28 lines
553 B
Makefile
Raw Normal View History

################################################################################
2003-01-17 05:22:53 +01:00
#
# 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
2003-01-17 05:22:53 +01:00
$(eval $(rootfs))