aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXU Benda <heroxbd@gmail.com>2011-12-22 13:37:11 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-25 22:45:04 +0900
commitd370474e3f85a3bbcbb2026ca5ec55257b7a0f39 (patch)
treef3f08abbf1b4d4aab3a9ad9d52b6351751d9eb52 /settings.mk
parentconfig.site: add musl libc support (diff)
downloadcrossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.gz
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.bz2
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.zip
prefixify build system and scripts.
Diffstat (limited to 'settings.mk')
-rw-r--r--settings.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings.mk b/settings.mk
index 30434d6..01f8e9d 100644
--- a/settings.mk
+++ b/settings.mk
@@ -1,8 +1,9 @@
# Copyright 2008-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+PORTAGE_CONFIGROOT ?= $(shell portageq envvar PORTAGE_CONFIGROOT)
DESTDIR ?=
-EPREFIX ?=
+EPREFIX ?= $(shell portageq envvar EPREFIX)
PREFIX ?= $(EPREFIX)/usr
INSTALL_DIR = install -m 755 -d