diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-01 21:14:42 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-01 21:14:42 +0000 |
commit | c2e22d66da3d0e18eace43e2705ee47e99431ae2 (patch) | |
tree | c5ae252ceca8dedf865fd8398c6cd01914856293 | |
parent | b68d98d61cc013da2df98e5d77d7bf3598d0dd4d (diff) |
bare-arm: Prefix includes with py/; remove need for -I../py.
-rw-r--r-- | bare-arm/Makefile | 1 | ||||
-rw-r--r-- | bare-arm/main.c | 20 |
2 files changed, 7 insertions, 14 deletions
diff --git a/bare-arm/Makefile b/bare-arm/Makefile index 2809b1893..a59bb9f89 100644 --- a/bare-arm/Makefile +++ b/bare-arm/Makefile @@ -10,7 +10,6 @@ CROSS_COMPILE = arm-none-eabi- INC = -I. INC += -I.. -INC += -I$(PY_SRC) INC += -I$(BUILD) CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion diff --git a/bare-arm/main.c b/bare-arm/main.c index d9f83b4eb..8ee4447e8 100644 --- a/bare-arm/main.c +++ b/bare-arm/main.c @@ -2,19 +2,13 @@ #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/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); |