summaryrefslogtreecommitdiff
path: root/mpy-cross
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-06 14:09:13 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-06 14:09:13 +1000
commit4a93801c12898898744131f57d79cf216d0861b3 (patch)
tree1de68ace1e4799d82c65f3f4e0b29554f611d996 /mpy-cross
parent01dd7804b87d60b2deab16712eccb3b97351a9b7 (diff)
all: Update Makefiles and others to build with new ports/ dir layout.
Also renames "stmhal" to "stm32" in documentation and everywhere else.
Diffstat (limited to 'mpy-cross')
-rw-r--r--mpy-cross/Makefile2
-rw-r--r--mpy-cross/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index 5399b5ae7..53ce50c7f 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -65,7 +65,7 @@ SRC_C = \
# Add fmode when compiling with mingw gcc
COMPILER_TARGET := $(shell $(CC) -dumpmachine)
ifneq (,$(findstring mingw,$(COMPILER_TARGET)))
- SRC_C += windows/fmode.c
+ SRC_C += ports/windows/fmode.c
endif
OBJ = $(PY_O)
diff --git a/mpy-cross/main.c b/mpy-cross/main.c
index ca8d9633f..225bc4309 100644
--- a/mpy-cross/main.c
+++ b/mpy-cross/main.c
@@ -36,7 +36,7 @@
#include "py/gc.h"
#include "py/stackctrl.h"
#ifdef _WIN32
-#include "windows/fmode.h"
+#include "ports/windows/fmode.h"
#endif
// Command line options, with their defaults