From: Michael Tremer Date: Sun, 11 Feb 2018 11:35:41 +0000 (+0000) Subject: Config: Set PREFIX either to TOOLS_DIR or /usr X-Git-Tag: v2.19-core120~127 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=c0878e43e163cb8776af1baabacfde78b285f6a8 Config: Set PREFIX either to TOOLS_DIR or /usr Signed-off-by: Michael Tremer --- 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. #