Config: Set PREFIX either to TOOLS_DIR or /usr

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-02-11 11:35:41 +00:00
parent b034e75303
commit c0878e43e1

View File

@@ -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.
#