aboutsummaryrefslogtreecommitdiff
path: root/mpy-cross
diff options
context:
space:
mode:
Diffstat (limited to 'mpy-cross')
-rw-r--r--mpy-cross/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index cdec130ee..5399b5ae7 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -23,10 +23,10 @@ QSTR_DEFS = qstrdefsport.h
UNAME_S := $(shell uname -s)
# include py core make definitions
-include ../py/py.mk
+include $(TOP)/py/py.mk
INC += -I.
-INC += -I..
+INC += -I$(TOP)
INC += -I$(BUILD)
# compiler settings
@@ -71,4 +71,4 @@ endif
OBJ = $(PY_O)
OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
-include ../py/mkrules.mk
+include $(TOP)/py/mkrules.mk