aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2011-02-02 10:05:56 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2011-02-02 22:46:13 +0100
commita2b4f7fbbdbd491c7ed8e87ea0ff2584ab8bde81 (patch)
tree0fa1e690b2ffbdc0b9a70d483c4a0b36af4dd014 /Makefile
parentd1a93022868df4cab0498d08299f39fe5a03cdb4 (diff)
downloadbuildroot-a2b4f7fbbdbd491c7ed8e87ea0ff2584ab8bde81.tar.gz
buildroot-a2b4f7fbbdbd491c7ed8e87ea0ff2584ab8bde81.tar.bz2
toolchain: introduce HOST_DIR option
Allow the user to define HOST_DIR in the config menu. This way when building an internal toolchain a separate (maybe shared) output directory may be defined and the toolchain can be used by multiple users and/or projects. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9563740826..914d2ed367 100644
--- a/Makefile
+++ b/Makefile
@@ -274,8 +274,8 @@ TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
GNU_TARGET_SUFFIX:=-$(call qstrip,$(BR2_GNU_TARGET_SUFFIX))
-# packages compiled for the host goes here
-HOST_DIR:=$(BASE_DIR)/host
+# packages compiled for the host go here
+HOST_DIR:=$(call qstrip,$(BR2_HOST_DIR))
# stamp (dependency) files go here
STAMP_DIR:=$(BASE_DIR)/stamps