mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 05:30:27 +01:00
all: Update to point to files in new shared/ directory.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user