From 9e88c96a2435d2c259aef1446823497c3cb7173e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Mar 2005 09:39:15 +0000 Subject: [PATCH] change default path for staging_dir. http://www.openwrt.org/forum/viewtopic.php?p=5528#5528 SVN-Revision: 421 --- openwrt/Config.in | 4 ++-- openwrt/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openwrt/Config.in b/openwrt/Config.in index 5867be0e6f..31ddbac6d7 100644 --- a/openwrt/Config.in +++ b/openwrt/Config.in @@ -86,7 +86,7 @@ config BR2_TAR_VERBOSITY config BR2_STAGING_DIR string "Toolchain and header file location?" - default "$(BUILD_DIR)/staging_dir" + default "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)" help This is the location where the toolchain will be installed. Since the toolchain will not work if it is moved from this @@ -95,7 +95,7 @@ config BR2_STAGING_DIR the toolchain will be used. Most people will leave this set to the default value of - "$(BUILD_DIR)/staging_dir". + "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)". config BR2_JLEVEL int "Number of jobs to run simultaneously" diff --git a/openwrt/Makefile b/openwrt/Makefile index ef60ff1988..3d9bcb3870 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -116,7 +116,7 @@ dirclean: clean rm -rf $(BUILD_DIR) distclean: clean - rm -rf $(STAMP_DIR) $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) + rm -rf $(STAMP_DIR) $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR) rm -f .config* .tmpconfig.h sourceball: distclean