Skip to content

Commit

Permalink
qemu-arm: Prefix includes with py/; remove need for -I../py.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Jan 1, 2015
1 parent c2e22d6 commit 4ef4ffe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
1 change: 0 additions & 1 deletion qemu-arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 8 additions & 13 deletions qemu-arm/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ef4ffe

Please sign in to comment.