diff options
| author | Damien George <damien@micropython.org> | 2021-07-09 14:19:15 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-07-12 17:08:10 +1000 |
| commit | 136369d72f5b99ec23c9c9f178a590bde968e2ee (patch) | |
| tree | 6d75116e1e11a4fbd5bf9765062350016e303375 /examples | |
| parent | 4d546713ec8858cbf908de45de11cbfc46a20971 (diff) | |
all: Update to point to files in new shared/ directory.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/embedding/Makefile.upylib | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/embedding/Makefile.upylib b/examples/embedding/Makefile.upylib index 00def493d..14260a719 100644 --- a/examples/embedding/Makefile.upylib +++ b/examples/embedding/Makefile.upylib @@ -82,9 +82,9 @@ endif endif ifeq ($(MICROPY_USE_READLINE),1) -INC += -I$(MPTOP)/lib/mp-readline +INC += -I$(MPTOP)/shared/readline CFLAGS_MOD += -DMICROPY_USE_READLINE=1 -LIB_SRC_C_EXTRA += mp-readline/readline.c +SHARED_SRC_C_EXTRA += readline/readline.c endif ifeq ($(MICROPY_USE_READLINE),2) CFLAGS_MOD += -DMICROPY_USE_READLINE=2 @@ -145,19 +145,19 @@ SRC_C = $(addprefix ports/unix/,\ $(SRC_MOD) \ ) -LIB_SRC_C = $(addprefix lib/,\ - $(LIB_SRC_C_EXTRA) \ - utils/printf.c \ - utils/gchelper_generic.c \ +SHARED_SRC_C = $(addprefix shared/,\ + libc/printf.c \ + runtime/gchelper_generic.c \ timeutils/timeutils.c \ + $(SHARED_SRC_C_EXTRA) \ ) OBJ = $(PY_O) OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) -OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o)) +OBJ += $(addprefix $(BUILD)/, $(SHARED_SRC_C:.c=.o)) # List of sources for qstr extraction -SRC_QSTR += $(SRC_C) $(LIB_SRC_C) +SRC_QSTR += $(SRC_C) $(SHARED_SRC_C) # Append any auto-generated sources that are needed by sources listed in # SRC_QSTR SRC_QSTR_AUTO_DEPS += |
