diff --git a/Makefile.include b/Makefile.include index 004d90f90089821015c2668c158f44be19615491..7fc769c7146f3bd52150cf7d1385ff87acab43b5 100644 --- a/Makefile.include +++ b/Makefile.include @@ -175,9 +175,6 @@ export TOOLCHAIN # will most likely not need to touch this. export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-) -# Import all toolchain settings -include $(RIOTCPU)/Makefile.include.$(TOOLCHAIN) - # Add standard include directories INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include INCLUDES += -I$(RIOTCPU)/$(CPU)/include @@ -189,6 +186,9 @@ include $(RIOTBASE)/Makefile.defaultmodules include $(RIOTBOARD)/$(BOARD)/Makefile.include include $(RIOTCPU)/$(CPU)/Makefile.include +# Import all toolchain settings +include $(RIOTCPU)/Makefile.include.$(TOOLCHAIN) + # get number of interfaces straight before resolving dependencies GNRC_NETIF_NUMOF ?= 1