Changeset 44551


Ignore:
Timestamp:
2015-02-27T08:34:24+01:00 (3 years ago)
Author:
nbd
Message:

build: move tmp/.prereq-build to staging_dir/host to gracefully handle staging_dir deletion

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/toplevel.mk

    r44329 r44551  
    5454 
    5555ifeq ($(FORCE),) 
    56   .config scripts/config/conf scripts/config/mconf: tmp/.prereq-build 
     56  .config scripts/config/conf scripts/config/mconf: staging_dir/host/.prereq-build 
    5757endif 
    5858 
     
    6767 
    6868prepare-tmpinfo: FORCE 
    69         @+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK) 
     69        @+$(MAKE) -r -s staging_dir/host/.prereq-build $(PREP_MK) 
    7070        mkdir -p tmp/info 
    7171        $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk $(TOPDIR)/overlay/*/*.mk" SCAN_DEPTH=5 SCAN_EXTRA="" 
     
    137137        $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig 
    138138 
    139 tmp/.prereq-build: include/prereq-build.mk 
     139staging_dir/host/.prereq-build: include/prereq-build.mk 
    140140        mkdir -p tmp 
    141141        rm -f tmp/.host.mk 
     
    203203 
    204204ifeq ($(findstring v,$(DEBUG)),) 
    205   .SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig tmp/.prereq-build tmp/.prereq-package prepare-tmpinfo 
     205  .SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig staging_dir/host/.prereq-build tmp/.prereq-package prepare-tmpinfo 
    206206endif 
    207207.PHONY: help FORCE 
Note: See TracChangeset for help on using the changeset viewer.