From 29324cc97f06519a3e74b292ccd53474936afd5a Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 6 Apr 2013 18:33:32 -0700 Subject: [PATCH] Add the SoC chip and common directories to the NuttX-related include paths. --- makefiles/nuttx.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefiles/nuttx.mk b/makefiles/nuttx.mk index e86f1370b9..5186dc3efe 100644 --- a/makefiles/nuttx.mk +++ b/makefiles/nuttx.mk @@ -63,7 +63,10 @@ LDSCRIPT += $(NUTTX_EXPORT_DIR)build/ld.script # # Add directories from the NuttX export to the relevant search paths # -INCLUDE_DIRS += $(NUTTX_EXPORT_DIR)include +INCLUDE_DIRS += $(NUTTX_EXPORT_DIR)include \ + += $(NUTTX_EXPORT_DIR)arch/chip \ + += $(NUTTX_EXPORT_DIR)arch/common + LIB_DIRS += $(NUTTX_EXPORT_DIR)libs LIBS += -lapps -lnuttx LINK_DEPS += $(NUTTX_EXPORT_DIR)libs/libapps.a \