Pārlūkot izejas kodu

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 pirms 9 gadiem
vecāks
revīzija
508d6b31bd
3 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. +2
    -2
      devLib/Makefile
  2. +2
    -2
      gpio/Makefile
  3. +2
    -2
      wiringPi/Makefile

+ 2
- 2
devLib/Makefile Parādīt failu

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

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

ifneq ($V,1)
Q ?= @


+ 2
- 2
gpio/Makefile Parādīt failu

@@ -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 Parādīt failu

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

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

ifneq ($V,1)
Q ?= @


Notiek ielāde…
Atcelt
Saglabāt