bare-arm: Prefix includes with py/; remove need for -I../py.

This commit is contained in:
Damien George 2015-01-01 21:14:42 +00:00
parent b68d98d61c
commit c2e22d66da
2 changed files with 7 additions and 14 deletions

View File

@ -10,7 +10,6 @@ CROSS_COMPILE = arm-none-eabi-
INC = -I. INC = -I.
INC += -I.. INC += -I..
INC += -I$(PY_SRC)
INC += -I$(BUILD) 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 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

View File

@ -2,19 +2,13 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "mpconfig.h" #include "py/nlr.h"
#include "nlr.h" #include "py/parsehelper.h"
#include "misc.h" #include "py/compile.h"
#include "qstr.h" #include "py/runtime0.h"
#include "lexer.h" #include "py/runtime.h"
#include "parse.h" #include "py/repl.h"
#include "obj.h" #include "py/pfenv.h"
#include "parsehelper.h"
#include "compile.h"
#include "runtime0.h"
#include "runtime.h"
#include "repl.h"
#include "pfenv.h"
void do_str(const char *src) { 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); mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);