1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

make: couple include path and -I

This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
This commit is contained in:
Ludwig Ortmann 2014-02-27 08:14:33 +01:00
parent 6eb8da137e
commit ac21f3c54c
5 changed files with 8 additions and 8 deletions

View File

@ -36,5 +36,5 @@ endif
export FFLAGS += "prog $(HEXFILE)"
export USEMODULE += msp430_common
export INCLUDES += -I $(RIOTCPU)/msp430-common/include/ -I$(RIOTBOARD)/msb-430-common/include -I$(RIOTBOARD)/msb-430-common/drivers/include
export INCLUDES += -I$(RIOTCPU)/msp430-common/include/ -I$(RIOTBOARD)/msb-430-common/include -I$(RIOTBOARD)/msb-430-common/drivers/include
export OFLAGS = -O ihex

View File

@ -28,4 +28,4 @@ export HEXFILE = $(BINDIR)/$(PROJECT).hex
export FFLAGS = -t $(PORT) -f $(HEXFILE) -c 'bbmc -l redbee-econotag reset'
export OFLAGS = -O binary --gap-fill=0xff
export INCLUDES += -I $(RIOTCPU)/$(CPU)/include/
export INCLUDES += -I$(RIOTCPU)/$(CPU)/include/

View File

@ -22,5 +22,5 @@ endif
export HEXFILE = $(BINDIR)$(PROJECT).hex
export FFLAGS = --telosb -c $(PORT) -r -e -I -p $(HEXFILE)
export INCLUDES += -I $(RIOTCPU)/msp430-common/include -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/drivers/cc2420/include -I$(RIOTBASE)/sys/net/include
export INCLUDES += -I$(RIOTCPU)/msp430-common/include -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/drivers/cc2420/include -I$(RIOTBASE)/sys/net/include
export OFLAGS = -O ihex

2
dist/Makefile vendored
View File

@ -46,7 +46,7 @@ export QUIET ?= 1
#USEMODULE += cc110x
#USEMODULE += fat
#export INCLUDES += -I application_include
#export INCLUDES += -Iapplication_include
# Specify custom dependencies for your application here ...
# export PROJDEPS = proj_data.h

View File

@ -1,4 +1,4 @@
INCLUDES += -I $(RIOTBASE)/pkg/libcoap/libcoap \
-I $(RIOTBASE)/sys/posix/include \
-I $(RIOTBASE)/sys/posix/pnet/include \
-I $(RIOTBASE)/sys/net/include
INCLUDES += -I$(RIOTBASE)/pkg/libcoap/libcoap \
-I$(RIOTBASE)/sys/posix/include \
-I$(RIOTBASE)/sys/posix/pnet/include \
-I$(RIOTBASE)/sys/net/include