all: Update to point to files in new shared/ directory.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-07-09 14:19:15 +10:00
parent 4d546713ec
commit 136369d72f
141 changed files with 324 additions and 306 deletions

View File

@@ -24,11 +24,11 @@ CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
endif
SRC_LIB = $(addprefix lib/,\
utils/interrupt_char.c \
utils/stdout_helpers.c \
utils/pyexec.c \
mp-readline/readline.c \
SRC_SHARED = $(addprefix shared/,\
runtime/interrupt_char.c \
runtime/stdout_helpers.c \
runtime/pyexec.c \
readline/readline.c \
)
SRC_C = \
@@ -39,7 +39,7 @@ SRC_C = \
SRC_QSTR += $(SRC_C)
OBJ += $(PY_O)
OBJ += $(addprefix $(BUILD)/, $(SRC_LIB:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_SHARED:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
JSFLAGS += -s ASYNCIFY

View File

@@ -34,7 +34,7 @@
#include "py/repl.h"
#include "py/gc.h"
#include "py/mperrno.h"
#include "lib/utils/pyexec.h"
#include "shared/runtime/pyexec.h"
#include "emscripten.h"
#include "library.h"

View File

@@ -32,7 +32,7 @@
#include "py/smallint.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "lib/timeutils/timeutils.h"
#include "shared/timeutils/timeutils.h"
#include "extmod/utime_mphal.h"
STATIC const mp_rom_map_elem_t time_module_globals_table[] = {

View File

@@ -25,7 +25,7 @@
*/
#include "py/obj.h"
#include "lib/utils/interrupt_char.h"
#include "shared/runtime/interrupt_char.h"
#define mp_hal_stdin_rx_chr() (0)
void mp_hal_stdout_tx_strn(const char *str, size_t len);