Changeset 26181


Ignore:
Timestamp:
2011-03-15T20:58:32+01:00 (7 years ago)
Author:
nbd
Message:

build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package.mk

    r25838 r26181  
    9191  $(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH) 
    9292  $(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH) 
     93  $(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache 
    9394endef 
    9495Build/Exports=$(Build/Exports/Default) 
  • trunk/rules.mk

    r25928 r26181  
    179179 
    180180ifneq ($(CONFIG_CCACHE),) 
    181   # FIXME: move this variable to a better location 
    182   export CCACHE_DIR=$(STAGING_DIR)/ccache 
    183181  TARGET_CC:= ccache $(TARGET_CC) 
    184182  TARGET_CXX:= ccache $(TARGET_CXX) 
Note: See TracChangeset for help on using the changeset viewer.