Changeset 5081


Ignore:
Timestamp:
2006-10-14T16:16:26+02:00 (10 years ago)
Author:
nbd
Message:

leave out the ccache directory when copying the staging dir into the sdk (#843)

Location:
trunk/target
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/Makefile

    r4176 r5081  
    1818linux-compile: utils-install 
    1919linux-install: $(BIN_DIR) 
    20 sdk-compile: linux-install 
    2120image_install: linux-install 
    2221 
  • trunk/target/sdk/Makefile

    r4198 r5081  
    99include $(TOPDIR)/rules.mk 
    1010include $(INCLUDE_DIR)/kernel.mk 
     11include $(INCLUDE_DIR)/host.mk 
    1112 
    1213PKG_OS:=$(shell uname -s) 
     
    2627        rm -rf $(SDK_BUILD_DIR) 
    2728        mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package 
    28         $(CP) $(STAGING_DIR) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/ 
     29        $(CP) $(INCLUDE_DIR) $(SCRIPT_DIR) $(TOPDIR)/docs $(SDK_BUILD_DIR)/ 
     30        $(TAR) -cf - -C $(TOPDIR) --exclude=ccache/ staging_dir_$(ARCH) | \ 
     31                $(TAR) -xf - -C $(SDK_BUILD_DIR) 
    2932        $(CP) $(TOPDIR)/rules.mk $(TOPDIR)/.config $(SDK_BUILD_DIR)/ 
    3033        $(CP) $(TOPDIR)/package/Makefile $(SDK_BUILD_DIR)/package/ 
     
    3336        $(CP) ./files/package/rules.mk $(SDK_BUILD_DIR)/package/ 
    3437        echo OPENWRTVERSION:=$(OPENWRTVERSION) > $(SDK_BUILD_DIR)/.version.mk 
     38        rm -rf $(SDK_BUILD_DIR)/staging_dir*/ccache 
    3539        find $(SDK_BUILD_DIR) -name .svn | xargs rm -rf  
    3640        find $(SDK_BUILD_DIR) -name CVS | xargs rm -rf  
Note: See TracChangeset for help on using the changeset viewer.