diff options
author | ralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-20 10:44:19 +0000 |
---|---|---|
committer | ralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-20 10:44:19 +0000 |
commit | 0ca9e026a84255ec4a4e58afb8f6132eb233831e (patch) | |
tree | bd7daf298cbded6d77cc9702c200f42cd7582d7f | |
parent | ebe382a99bc17876e9a4612bf6a8c73303aa5eec (diff) |
second part of target rootfs relocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14578 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,7 +63,8 @@ TOOLCHAIN_DIR:=$(TOPDIR)/staging_dir/toolchain-$(ARCH)_gcc-$(GCCV)_$(LIBC)-$(LIB PACKAGE_DIR:=$(BIN_DIR)/packages/target-$(ARCH)_$(LIBC)-$(LIBCV) STAMP_DIR:=$(BUILD_DIR)/stamp STAMP_DIR_HOST=$(BUILD_DIR_HOST)/stamp -TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD) +TARGET_ROOTFS_DIR?=$(if $(call qstrip,$(CONFIG_TARGET_ROOTFS_DIR)),$(call qstrip,$(CONFIG_TARGET_ROOTFS_DIR)),$(BUILD_DIR)) +TARGET_DIR:=$(TARGET_ROOTFS_DIR)/root-$(BOARD) DEBUG_DIR:=$(BUILD_DIR)/debug-$(BOARD) TARGET_PATH:=$(TOOLCHAIN_DIR)/usr/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH) |