]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - fs/cramfs/cramfs.mk
fs/common.mk: delay evaluation of variables
[coffee/buildroot.git] / fs / cramfs / cramfs.mk
1 #############################################################
2 #
3 # Build the cramfs root filesystem image
4 #
5 #############################################################
6 ifeq ($(BR2_ENDIAN),"BIG")
7 CRAMFS_OPTS=-b
8 else
9 CRAMFS_OPTS=-l
10 endif
11
12 define ROOTFS_CRAMFS_CMD
13  $(HOST_DIR)/usr/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
14 endef
15
16 ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
17
18 $(eval $(call ROOTFS_TARGET,cramfs))