diff --git a/bare-arm/Makefile b/bare-arm/Makefile index eeaaf423d0..2809b18932 100644 --- a/bare-arm/Makefile +++ b/bare-arm/Makefile @@ -9,6 +9,7 @@ include ../py/py.mk CROSS_COMPILE = arm-none-eabi- INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD) diff --git a/qemu-arm/Makefile b/qemu-arm/Makefile index 9005380809..bb0880c864 100644 --- a/qemu-arm/Makefile +++ b/qemu-arm/Makefile @@ -10,6 +10,7 @@ include ../py/py.mk CROSS_COMPILE = arm-none-eabi- INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD) diff --git a/stmhal/Makefile b/stmhal/Makefile index 9c2c23c0c4..98f31ebadd 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -32,6 +32,7 @@ DEVICE=0483:df11 CROSS_COMPILE = arm-none-eabi- INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD) INC += -I$(CMSIS_DIR)/inc diff --git a/teensy/Makefile b/teensy/Makefile index 5ea4c9dad2..20ba41901d 100644 --- a/teensy/Makefile +++ b/teensy/Makefile @@ -30,6 +30,7 @@ CFLAGS_TEENSY = -DF_CPU=96000000 -DUSB_SERIAL -D__MK20DX256__ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -mfloat-abi=soft -fsingle-precision-constant -Wdouble-promotion $(CFLAGS_TEENSY) INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I../stmhal INC += -I$(BUILD) diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index eb4088861c..6a60c35330 100644 --- a/unix-cpy/Makefile +++ b/unix-cpy/Makefile @@ -7,6 +7,7 @@ PROG = cpy include ../py/py.mk INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD) diff --git a/unix/Makefile b/unix/Makefile index de3aef398f..bfd9497542 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -14,6 +14,7 @@ UNAME_S := $(shell uname -s) include ../py/py.mk INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD) diff --git a/windows/Makefile b/windows/Makefile index 28b73d614c..f73e166909 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -11,6 +11,7 @@ QSTR_DEFS = ../unix/qstrdefsport.h include ../py/py.mk INC = -I. +INC += -I.. INC += -I$(PY_SRC) INC += -I$(BUILD)