2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2003-01-17 05:22:53 +01:00
|
|
|
#
|
|
|
|
# Build the cramfs root filesystem image
|
|
|
|
#
|
2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2013-06-06 23:54:11 +02:00
|
|
|
|
2007-06-12 17:30:32 +02:00
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
2014-01-16 09:09:30 +01:00
|
|
|
CRAMFS_OPTS = -b
|
2007-06-12 17:30:32 +02:00
|
|
|
else
|
2014-01-16 09:09:30 +01:00
|
|
|
CRAMFS_OPTS = -l
|
2008-12-02 10:15:08 +01:00
|
|
|
endif
|
|
|
|
|
2010-03-10 00:13:39 +01:00
|
|
|
define ROOTFS_CRAMFS_CMD
|
2014-10-23 10:43:37 +02: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))
|