mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 04:45:37 +08:00
[build] only set PAPARAZZI_SRC if not already externally set
closes #800
This commit is contained in:
@@ -27,7 +27,7 @@ ifeq ($(Q),@)
|
||||
MAKEFLAGS += --no-print-directory
|
||||
endif
|
||||
|
||||
PAPARAZZI_SRC=$(shell pwd)
|
||||
PAPARAZZI_SRC ?= $(shell pwd)
|
||||
empty=
|
||||
space=$(empty) $(empty)
|
||||
ifneq ($(findstring $(space),$(PAPARAZZI_SRC)),)
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
# Preprocessing of XML configuration files
|
||||
|
||||
PAPARAZZI_SRC=$(shell pwd)
|
||||
PAPARAZZI_SRC ?= $(shell pwd)
|
||||
|
||||
include conf/Makefile.local
|
||||
|
||||
|
||||
Reference in New Issue
Block a user