aboutsummaryrefslogtreecommitdiff
path: root/py/py.mk
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-07-09 14:19:15 +1000
committerDamien George <damien@micropython.org>2021-07-12 17:08:10 +1000
commit136369d72f5b99ec23c9c9f178a590bde968e2ee (patch)
tree6d75116e1e11a4fbd5bf9765062350016e303375 /py/py.mk
parent4d546713ec8858cbf908de45de11cbfc46a20971 (diff)
all: Update to point to files in new shared/ directory.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/py.mk b/py/py.mk
index ab01b0ec2..bc9232ef4 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -209,8 +209,8 @@ PY_EXTMOD_O_BASENAME = \
extmod/vfs_lfs.o \
extmod/utime_mphal.o \
extmod/uos_dupterm.o \
- lib/embed/abort_.o \
- lib/utils/printf.o \
+ shared/libc/abort_.o \
+ shared/libc/printf.o \
# prepend the build destination prefix to the py object files
PY_CORE_O = $(addprefix $(BUILD)/, $(PY_CORE_O_BASENAME))
@@ -272,7 +272,7 @@ $(HEADER_BUILD)/moduledefs.h: $(SRC_QSTR) $(QSTR_GLOBAL_DEPENDENCIES) | $(HEADER
# Standard C functions like memset need to be compiled with special flags so
# the compiler does not optimise these functions in terms of themselves.
CFLAGS_BUILTIN ?= -ffreestanding -fno-builtin -fno-lto
-$(BUILD)/lib/libc/string0.o: CFLAGS += $(CFLAGS_BUILTIN)
+$(BUILD)/shared/libc/string0.o: CFLAGS += $(CFLAGS_BUILTIN)
# Force nlr code to always be compiled with space-saving optimisation so
# that the function preludes are of a minimal and predictable form.