]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/m4
Move toolchain from /tools to /tools_${arch}
[people/mfischer/ipfire-2.x.git] / lfs / m4
diff --git a/lfs/m4 b/lfs/m4
index 55cc4c3ce5c2149ac431ea5176a90d1bddcdbed9..3864d42158f97eecf9ad4c0f9c0bb120935da348 100644 (file)
--- a/lfs/m4
+++ b/lfs/m4
@@ -31,7 +31,7 @@ DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
-# Normal build or /tools build.
+# Normal build or $(TOOLS_DIR) build.
 #
 ifeq "$(ROOT)" ""
   TARGET = $(DIR_INFO)/$(THISAPP)
@@ -39,7 +39,7 @@ ifeq "$(ROOT)" ""
   EXTRA_MAKE =
 else
   TARGET = $(DIR_INFO)/$(THISAPP)-tools
-  EXTRA_CONFIG = --prefix=/tools --disable-nls
+  EXTRA_CONFIG = --prefix=$(TOOLS_DIR) --disable-nls
   EXTRA_MAKE = 
 endif