summaryrefslogblamecommitdiffstats
path: root/fs/cramfs/cramfs.mk
blob: 9b0141f48b766e481c111b7e8bb79baa06f8a8d1 (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

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))