Skip to content
Snippets Groups Projects
Commit 3b74c916 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Makefiles: Support py/*.h includes per #1022.

parent 8ab6f906
Branches
Tags
No related merge requests found
...@@ -9,6 +9,7 @@ include ../py/py.mk ...@@ -9,6 +9,7 @@ include ../py/py.mk
CROSS_COMPILE = arm-none-eabi- CROSS_COMPILE = arm-none-eabi-
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
......
...@@ -10,6 +10,7 @@ include ../py/py.mk ...@@ -10,6 +10,7 @@ include ../py/py.mk
CROSS_COMPILE = arm-none-eabi- CROSS_COMPILE = arm-none-eabi-
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
......
...@@ -32,6 +32,7 @@ DEVICE=0483:df11 ...@@ -32,6 +32,7 @@ DEVICE=0483:df11
CROSS_COMPILE = arm-none-eabi- CROSS_COMPILE = arm-none-eabi-
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
INC += -I$(CMSIS_DIR)/inc INC += -I$(CMSIS_DIR)/inc
......
...@@ -30,6 +30,7 @@ CFLAGS_TEENSY = -DF_CPU=96000000 -DUSB_SERIAL -D__MK20DX256__ ...@@ -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) 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..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I../stmhal INC += -I../stmhal
INC += -I$(BUILD) INC += -I$(BUILD)
......
...@@ -7,6 +7,7 @@ PROG = cpy ...@@ -7,6 +7,7 @@ PROG = cpy
include ../py/py.mk include ../py/py.mk
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
......
...@@ -14,6 +14,7 @@ UNAME_S := $(shell uname -s) ...@@ -14,6 +14,7 @@ UNAME_S := $(shell uname -s)
include ../py/py.mk include ../py/py.mk
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
......
...@@ -11,6 +11,7 @@ QSTR_DEFS = ../unix/qstrdefsport.h ...@@ -11,6 +11,7 @@ QSTR_DEFS = ../unix/qstrdefsport.h
include ../py/py.mk include ../py/py.mk
INC = -I. INC = -I.
INC += -I..
INC += -I$(PY_SRC) INC += -I$(PY_SRC)
INC += -I$(BUILD) INC += -I$(BUILD)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment