diff --git a/bare-arm/Makefile b/bare-arm/Makefile index eeaaf423d..2809b1893 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 900538080..bb0880c86 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 9c2c23c0c..98f31ebad 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 5ea4c9dad..20ba41901 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 eb4088861..6a60c3533 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 de3aef398..bfd949754 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 28b73d614..f73e16690 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)