2003-01-17 05:22:53 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Build the cramfs root filesystem image
|
|
|
|
#
|
|
|
|
#############################################################
|
2007-06-12 17:30:32 +02:00
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
2008-12-02 10:15:08 +01:00
|
|
|
CRAMFS_OPTS=-b
|
2007-06-12 17:30:32 +02:00
|
|
|
else
|
2008-12-02 10:15:08 +01:00
|
|
|
CRAMFS_OPTS=-l
|
|
|
|
endif
|
|
|
|
|
2010-03-10 00:13:39 +01:00
|
|
|
define ROOTFS_CRAMFS_CMD
|
2012-11-30 08:25:09 +01:00
|
|
|
$(HOST_DIR)/usr/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $$@
|
2010-03-10 00:13:39 +01:00
|
|
|
endef
|
2006-04-07 22:30:43 +02:00
|
|
|
|
2010-03-10 00:13:39 +01:00
|
|
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
2003-01-17 05:22:53 +01:00
|
|
|
|
2011-09-09 16:05:07 +02:00
|
|
|
$(eval $(call ROOTFS_TARGET,cramfs))
|