Makefiles: Do not override PREFIX or DESTDIR from the environment

These are not set in normal shell sessions.  Honouring existing
settings allows the caller of ./build to specify alternative values.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
Ian Jackson 2015-09-12 17:15:44 +00:00
parent 73aa8956c5
commit 508d6b31bd
3 changed files with 6 additions and 6 deletions

View File

@ -22,8 +22,8 @@
#################################################################################
VERSION=$(shell cat ../VERSION)
DESTDIR=/usr
PREFIX=/local
DESTDIR?=/usr
PREFIX?=/local
ifneq ($V,1)
Q ?= @

View File

@ -23,8 +23,8 @@
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
#################################################################################
DESTDIR=/usr
PREFIX=/local
DESTDIR?=/usr
PREFIX?=/local
ifneq ($V,1)
Q ?= @

View File

@ -22,8 +22,8 @@
#################################################################################
VERSION=$(shell cat ../VERSION)
DESTDIR=/usr
PREFIX=/local
DESTDIR?=/usr
PREFIX?=/local
ifneq ($V,1)
Q ?= @