Add the SoC chip and common directories to the NuttX-related include paths.

This commit is contained in:
px4dev 2013-04-06 18:33:32 -07:00
parent d1a2e9a9c1
commit 29324cc97f
1 changed files with 4 additions and 1 deletions

View File

@ -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 \