mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
build: removed check for existance of PX4 subdirs
this prevents modules from initialising
This commit is contained in:
parent
fc3b75710f
commit
cf21cc8132
@ -9,11 +9,6 @@ ifeq ($(wildcard $(PX4_ROOT)/nuttx-configs),)
|
|||||||
PX4_ROOT := $(shell cd $(SKETCHBOOK)/$(PX4_ROOT) && pwd)
|
PX4_ROOT := $(shell cd $(SKETCHBOOK)/$(PX4_ROOT) && pwd)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# check it is a valid PX4Firmware tree
|
|
||||||
ifeq ($(wildcard $(PX4_ROOT)/nuttx-configs),)
|
|
||||||
$(error ERROR: PX4_ROOT not set correctly - no nuttx-configs directory found)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(wildcard $(SKETCHBOOK)/modules/uavcan),)
|
ifneq ($(wildcard $(SKETCHBOOK)/modules/uavcan),)
|
||||||
UAVCAN_DIR=$(shell cd $(SKETCHBOOK)/modules/uavcan && pwd)/
|
UAVCAN_DIR=$(shell cd $(SKETCHBOOK)/modules/uavcan && pwd)/
|
||||||
endif
|
endif
|
||||||
@ -28,10 +23,6 @@ ifeq ($(wildcard $(NUTTX_SRC)/configs),)
|
|||||||
NUTTX_SRC := $(shell cd $(SKETCHBOOK)/$(NUTTX_SRC) && pwd)/
|
NUTTX_SRC := $(shell cd $(SKETCHBOOK)/$(NUTTX_SRC) && pwd)/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(wildcard $(NUTTX_SRC)configs),)
|
|
||||||
$(error ERROR: NUTTX_SRC not set correctly - no configs directory found)
|
|
||||||
endif
|
|
||||||
|
|
||||||
NUTTX_GIT_VERSION := $(shell cd $(NUTTX_SRC) && git rev-parse HEAD | cut -c1-8)
|
NUTTX_GIT_VERSION := $(shell cd $(NUTTX_SRC) && git rev-parse HEAD | cut -c1-8)
|
||||||
PX4_GIT_VERSION := $(shell cd $(PX4_ROOT) && git rev-parse HEAD | cut -c1-8)
|
PX4_GIT_VERSION := $(shell cd $(PX4_ROOT) && git rev-parse HEAD | cut -c1-8)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user