From cf21cc8132b4ec715819e1aaa074754d9c803880 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 9 Jun 2015 12:34:33 +1000 Subject: [PATCH] build: removed check for existance of PX4 subdirs this prevents modules from initialising --- mk/px4_targets.mk | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mk/px4_targets.mk b/mk/px4_targets.mk index 34b4a99315..a99bcada42 100644 --- a/mk/px4_targets.mk +++ b/mk/px4_targets.mk @@ -9,11 +9,6 @@ ifeq ($(wildcard $(PX4_ROOT)/nuttx-configs),) PX4_ROOT := $(shell cd $(SKETCHBOOK)/$(PX4_ROOT) && pwd) 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),) UAVCAN_DIR=$(shell cd $(SKETCHBOOK)/modules/uavcan && pwd)/ endif @@ -28,10 +23,6 @@ ifeq ($(wildcard $(NUTTX_SRC)/configs),) NUTTX_SRC := $(shell cd $(SKETCHBOOK)/$(NUTTX_SRC) && pwd)/ 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) PX4_GIT_VERSION := $(shell cd $(PX4_ROOT) && git rev-parse HEAD | cut -c1-8)