Changeset 10310


Ignore:
Timestamp:
2008-01-29T11:51:52+01:00 (10 years ago)
Author:
juhosg
Message:

fix generation of cpio.gz images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r9986 r10310  
    1 #  
     1# 
    22# Copyright (C) 2006 OpenWrt.org 
    33# 
     
    6868  ifeq ($(CONFIG_TARGET_ROOTFS_CPIOGZ),y) 
    6969    define Image/mkfs/cpiogz 
    70                 ( cd $(BUILD_DIR)/root; find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.cpio.gz ) 
     70                ( cd $(TARGET_DIR); find . | cpio -o -H newc | gzip -9 >$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.cpio.gz ) 
    7171    endef 
    7272  endif 
     
    8989 
    9090ifeq ($(CONFIG_TARGET_ROOTFS_ISO),y) 
    91   define Image/mkfs/iso  
    92                 $(call Image/Build,iso)  
    93   endef  
     91  define Image/mkfs/iso 
     92                $(call Image/Build,iso) 
     93  endef 
    9494endif 
    9595 
     
    138138        $(call Image/mkfs/iso) 
    139139endif 
    140          
     140 
    141141ifneq ($(IB),1) 
    142142  clean: clean-targets 
Note: See TracChangeset for help on using the changeset viewer.