From c0878e43e163cb8776af1baabacfde78b285f6a8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 11 Feb 2018 11:35:41 +0000 Subject: [PATCH] Config: Set PREFIX either to TOOLS_DIR or /usr Signed-off-by: Michael Tremer --- lfs/Config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lfs/Config b/lfs/Config index a45b76b995..d63a1dc9a4 100644 --- a/lfs/Config +++ b/lfs/Config @@ -41,6 +41,12 @@ ifeq "$(BUILD_ARCH)" "x86_64" IS_64BIT = 1 endif +ifeq "$(TOOLCHAIN)" "1" + PREFIX = $(TOOLS_DIR) +else + PREFIX = /usr +endif + # URLs that are common sources of downloads. If you're having trouble with # a site you should change its URL to that of a suitable mirror site. # -- 2.39.2