Don't include from Nuttx/include as system files. Need real platform files. config.h is an issue.

This commit is contained in:
Gregory Nutt 2016-11-09 13:40:46 -06:00
parent d7ce4110bb
commit 487e6197c8
2 changed files with 6 additions and 5 deletions

View File

@ -33,7 +33,10 @@
#
#############################################################################
TRAVELER = $(APPDIR)/graphics/traveler
WD = ${shell pwd}
APPDIR = $(WD)/../../..
TRAVELER = $(WD)/../..
BIN = libwld.a
WLDSRCS = wld_createworld.c wld_deallocateworld.c
@ -56,7 +59,7 @@ AR = ar -rcv
DEBUG_LEVEL = 0
DEFINES = -DDEBUG_LEVEL=$(DEBUG_LEVEL)
INCLUDES = -I. -I$(APPDIR)/include -I$(TOPDIR)/include -I$(TRAVELER)/include
INCLUDES = -I. -I$(APPDIR)/include -I$(TRAVELER)/include
WARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wno-trigraphs
ifneq ($(DEBUG_LEVEL),0)

View File

@ -68,9 +68,7 @@ endif
TOOLS = $(TRAVELER)/tools
LIBWLD = $(TOOLS)/libwld
TOPDIR = /home/patacongo/projects/nuttx/master/nuttx
NUTTXINC = $(TOPDIR)/include
INC_PATH = -I$(TRAVELER)/include -I$(TOOLS)/tcledit -I$(LIBWLD) -isystem $(NUTTXINC)
INC_PATH = -I$(TRAVELER)/include -I$(TOOLS)/tcledit -I$(LIBWLD)
VPATH = $(TOOLS)/tcledit