mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2025-12-12 16:08:49 +01:00
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:
parent
73aa8956c5
commit
508d6b31bd
@ -22,8 +22,8 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
VERSION=$(shell cat ../VERSION)
|
VERSION=$(shell cat ../VERSION)
|
||||||
DESTDIR=/usr
|
DESTDIR?=/usr
|
||||||
PREFIX=/local
|
PREFIX?=/local
|
||||||
|
|
||||||
ifneq ($V,1)
|
ifneq ($V,1)
|
||||||
Q ?= @
|
Q ?= @
|
||||||
|
|||||||
@ -23,8 +23,8 @@
|
|||||||
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
|
# along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
DESTDIR=/usr
|
DESTDIR?=/usr
|
||||||
PREFIX=/local
|
PREFIX?=/local
|
||||||
|
|
||||||
ifneq ($V,1)
|
ifneq ($V,1)
|
||||||
Q ?= @
|
Q ?= @
|
||||||
|
|||||||
@ -22,8 +22,8 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
VERSION=$(shell cat ../VERSION)
|
VERSION=$(shell cat ../VERSION)
|
||||||
DESTDIR=/usr
|
DESTDIR?=/usr
|
||||||
PREFIX=/local
|
PREFIX?=/local
|
||||||
|
|
||||||
ifneq ($V,1)
|
ifneq ($V,1)
|
||||||
Q ?= @
|
Q ?= @
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user