diff --git a/Makefile.modules b/Makefile.modules index d3329c2338..72cb737ff6 100644 --- a/Makefile.modules +++ b/Makefile.modules @@ -7,6 +7,7 @@ UNDEF = $(BINDIR)startup.o ifeq ($(CPU),lpc2387) USEMODULE += arm_common UNDEF += $(BINDIR)syscalls.o + export INCLUDES += -I$(RIOTBASE)/cpu/arm_common/include endif ifeq ($(CPU),lpc214x) USEMODULE += arm_common diff --git a/dist/Makefile b/dist/Makefile index 0ff3694e5f..ef29cadbe8 100644 --- a/dist/Makefile +++ b/dist/Makefile @@ -20,12 +20,14 @@ export RIOTBOARD =$(CURDIR)/../../boards ## Modules to include. #USEMODULE += shell +#USEMODULE += uart0 +#USEMODULE += posix #USEMODULE += vtimer #USEMODULE += sht11 #USEMODULE += ltc4150 #USEMODULE += cc110x #USEMODULE += fat -export INCLUDES = -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/cpu/$(CPU)/include -I$(RIOTBASE)/cpu/arm_common/include -I$(RIOTBASE)/sys/lib -I$(RIOTBASE)/sys/include/ -I$(RIOTBASE)/drivers/include/ +export INCLUDES = -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/cpu/$(CPU)/include -I$(RIOTBASE)/sys/lib -I$(RIOTBASE)/sys/include/ -I$(RIOTBASE)/drivers/include/ include $(RIOTBASE)/Makefile.include