Browse Source

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>
pull/62/head
Ian Jackson 9 years ago
parent
commit
508d6b31bd
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      devLib/Makefile
  2. +2
    -2
      gpio/Makefile
  3. +2
    -2
      wiringPi/Makefile

+ 2
- 2
devLib/Makefile View File

@@ -22,8 +22,8 @@
#################################################################################

VERSION=$(shell cat ../VERSION)
DESTDIR=/usr
PREFIX=/local
DESTDIR?=/usr
PREFIX?=/local

ifneq ($V,1)
Q ?= @


+ 2
- 2
gpio/Makefile 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 ?= @


+ 2
- 2
wiringPi/Makefile View File

@@ -22,8 +22,8 @@
#################################################################################

VERSION=$(shell cat ../VERSION)
DESTDIR=/usr
PREFIX=/local
DESTDIR?=/usr
PREFIX?=/local

ifneq ($V,1)
Q ?= @


Loading…
Cancel
Save