buildrootschalter/fs/cramfs/cramfs.mk

22 lines
494 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
ifneq ($(ROOTFS_DEVICE_TABLE),)
CRAMFS_OPTS += -D $(ROOTFS_DEVICE_TABLE)
endif
2003-01-17 05:22:53 +01:00
define ROOTFS_CRAMFS_CMD
$(HOST_DIR)/usr/bin/mkcramfs -q $(CRAMFS_OPTS) $(TARGET_DIR) $$@
endef
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
2003-01-17 05:22:53 +01:00
$(eval $(call ROOTFS_TARGET,cramfs))