0e26991f79
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
454 B
Makefile
20 lines
454 B
Makefile
################################################################################
|
|
#
|
|
# Build the cramfs root filesystem image
|
|
#
|
|
################################################################################
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
CRAMFS_OPTS = -b
|
|
else
|
|
CRAMFS_OPTS = -l
|
|
endif
|
|
|
|
define ROOTFS_CRAMFS_CMD
|
|
$(HOST_DIR)/usr/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
|
|
endef
|
|
|
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
|
|
|
$(eval $(call ROOTFS_TARGET,cramfs))
|