summaryrefslogblamecommitdiffstats
path: root/fs/cramfs/cramfs.mk
blob: e0deb7e2afe65f5989a689de3726acfb3fcb93bf (plain) (tree)
1
2
3
4
5
6
7
8

                                                             


                                                             
                          
              
    


              

                                        
     
 


                                                                 
 
                                        
 
                                   
#############################################################
#
# Build the cramfs root filesystem image
#
#############################################################
ifeq ($(BR2_ENDIAN),"BIG")
CRAMFS_OPTS=-b
else
CRAMFS_OPTS=-l
endif

ifneq ($(ROOTFS_DEVICE_TABLE),)
CRAMFS_OPTS += -D $(ROOTFS_DEVICE_TABLE)
endif

define ROOTFS_CRAMFS_CMD
 $(HOST_DIR)/usr/bin/mkcramfs -q $(CRAMFS_OPTS) $(TARGET_DIR) $$@
endef

ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs

$(eval $(call ROOTFS_TARGET,cramfs))