2013-06-07 05:54:13 +08:00
|
|
|
################################################################################
|
2003-01-17 12:22:53 +08:00
|
|
|
#
|
|
|
|
# Build the cramfs root filesystem image
|
|
|
|
#
|
2013-06-07 05:54:13 +08:00
|
|
|
################################################################################
|
2013-06-07 05:54:11 +08:00
|
|
|
|
2007-06-12 23:30:32 +08:00
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
2014-01-16 16:09:30 +08:00
|
|
|
CRAMFS_OPTS = -b
|
2007-06-12 23:30:32 +08:00
|
|
|
else
|
2014-01-16 16:09:30 +08:00
|
|
|
CRAMFS_OPTS = -l
|
2008-12-02 17:15:08 +08:00
|
|
|
endif
|
|
|
|
|
2010-03-10 07:13:39 +08:00
|
|
|
define ROOTFS_CRAMFS_CMD
|
2017-07-05 19:14:19 +08:00
|
|
|
$(HOST_DIR)/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
|
2010-03-10 07:13:39 +08:00
|
|
|
endef
|
2006-04-08 04:30:43 +08:00
|
|
|
|
2010-03-10 07:13:39 +08:00
|
|
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
2003-01-17 12:22:53 +08:00
|
|
|
|
2017-12-28 18:40:32 +08:00
|
|
|
$(eval $(rootfs))
|