Ignore:
Timestamp:
2007-12-28T16:46:01+01:00 (9 years ago)
Author:
nbd
Message:

add cpio.gz support (patch from #2595)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r9354 r9986  
    6565    endef 
    6666  endif 
     67 
     68  ifeq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),y) 
     69    define Image/mkfs/cpiogz 
     70                ( cd $(BUILD_DIR)/root; find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.cpio.gz ) 
     71    endef 
     72  endif 
    6773else 
    6874  define Image/BuildKernel 
     
    119125        $(call Image/mkfs/squashfs) 
    120126        $(call Image/mkfs/tgz) 
     127        $(call Image/mkfs/cpiogz) 
    121128        $(call Image/mkfs/ext2) 
    122129        $(call Image/mkfs/iso) 
     
    127134        $(call Image/mkfs/squashfs) 
    128135        $(call Image/mkfs/tgz) 
     136        $(call Image/mkfs/cpiogz) 
    129137        $(call Image/mkfs/ext2) 
    130138        $(call Image/mkfs/iso) 
Note: See TracChangeset for help on using the changeset viewer.