summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-01 21:15:38 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-01 21:15:38 +0000
commit4ef4ffe1c563c1f1c91d49667cc31f3603f756d1 (patch)
treec2de8b85557498acd3edec6fc3131bef76b7c03f
parentc2e22d66da3d0e18eace43e2705ee47e99431ae2 (diff)
downloadmicropython-4ef4ffe1c563c1f1c91d49667cc31f3603f756d1.tar.gz
micropython-4ef4ffe1c563c1f1c91d49667cc31f3603f756d1.zip
qemu-arm: Prefix includes with py/; remove need for -I../py.
-rw-r--r--qemu-arm/Makefile1
-rw-r--r--qemu-arm/main.c21
2 files changed, 8 insertions, 14 deletions
diff --git a/qemu-arm/Makefile b/qemu-arm/Makefile
index bb0880c864..2322209691 100644
--- a/qemu-arm/Makefile
+++ b/qemu-arm/Makefile
@@ -11,7 +11,6 @@ CROSS_COMPILE = arm-none-eabi-
INC = -I.
INC += -I..
-INC += -I$(PY_SRC)
INC += -I$(BUILD)
CFLAGS_CORTEX_M3 = -mthumb -mcpu=cortex-m3
diff --git a/qemu-arm/main.c b/qemu-arm/main.c
index 11ba2f4028..3ad09e6deb 100644
--- a/qemu-arm/main.c
+++ b/qemu-arm/main.c
@@ -2,19 +2,14 @@
#include <stdio.h>
#include <string.h>
-#include "mpconfig.h"
-#include "nlr.h"
-#include "misc.h"
-#include "qstr.h"
-#include "lexer.h"
-#include "parse.h"
-#include "obj.h"
-#include "parsehelper.h"
-#include "compile.h"
-#include "runtime0.h"
-#include "runtime.h"
-#include "repl.h"
-#include "pfenv.h"
+#include "py/nlr.h"
+#include "py/obj.h"
+#include "py/parsehelper.h"
+#include "py/compile.h"
+#include "py/runtime0.h"
+#include "py/runtime.h"
+#include "py/repl.h"
+#include "py/pfenv.h"
void do_str(const char *src) {
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);