Skip to content

Commit 3b74c91

Browse files
committed
Makefiles: Support py/*.h includes per adafruit#1022.
1 parent 8ab6f90 commit 3b74c91

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

bare-arm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ include ../py/py.mk
99
CROSS_COMPILE = arm-none-eabi-
1010

1111
INC = -I.
12+
INC += -I..
1213
INC += -I$(PY_SRC)
1314
INC += -I$(BUILD)
1415

qemu-arm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include ../py/py.mk
1010
CROSS_COMPILE = arm-none-eabi-
1111

1212
INC = -I.
13+
INC += -I..
1314
INC += -I$(PY_SRC)
1415
INC += -I$(BUILD)
1516

stmhal/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ DEVICE=0483:df11
3232
CROSS_COMPILE = arm-none-eabi-
3333

3434
INC = -I.
35+
INC += -I..
3536
INC += -I$(PY_SRC)
3637
INC += -I$(BUILD)
3738
INC += -I$(CMSIS_DIR)/inc

teensy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ CFLAGS_TEENSY = -DF_CPU=96000000 -DUSB_SERIAL -D__MK20DX256__
3030
CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -mfloat-abi=soft -fsingle-precision-constant -Wdouble-promotion $(CFLAGS_TEENSY)
3131

3232
INC = -I.
33+
INC += -I..
3334
INC += -I$(PY_SRC)
3435
INC += -I../stmhal
3536
INC += -I$(BUILD)

unix-cpy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PROG = cpy
77
include ../py/py.mk
88

99
INC = -I.
10+
INC += -I..
1011
INC += -I$(PY_SRC)
1112
INC += -I$(BUILD)
1213

unix/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ UNAME_S := $(shell uname -s)
1414
include ../py/py.mk
1515

1616
INC = -I.
17+
INC += -I..
1718
INC += -I$(PY_SRC)
1819
INC += -I$(BUILD)
1920

windows/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ QSTR_DEFS = ../unix/qstrdefsport.h
1111
include ../py/py.mk
1212

1313
INC = -I.
14+
INC += -I..
1415
INC += -I$(PY_SRC)
1516
INC += -I$(BUILD)
1617

0 commit comments

Comments
 (0)