Skip to content

Commit 9f0bc92

Browse files
committed
fix Makefiles
1 parent 1ea6039 commit 9f0bc92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ports/esp32/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,10 @@ SRC_C = \
359359

360360
EXTMOD_SRC_C += $(addprefix extmod/,\
361361
modonewire.c \
362-
mbedtls_errors/esp32_mbedtls_errors.c \
363362
)
364363

365364
LIB_SRC_C = $(addprefix lib/,\
365+
mbedtls_errors/esp32_mbedtls_errors.c \
366366
mp-readline/readline.c \
367367
netutils/netutils.c \
368368
timeutils/timeutils.c \
@@ -507,7 +507,7 @@ ESPIDF_LWIP_O = $(patsubst %.c,%.o,\
507507
$(wildcard $(ESPCOMP)/lwip/port/esp32/*/*.c) \
508508
)
509509

510-
# Mbedtls source files, exclude error.c in favor of extmod/mbedtls_errors/esp32_mbedtls_errors.c
510+
# Mbedtls source files, exclude error.c in favor of lib/mbedtls_errors/esp32_mbedtls_errors.c
511511
ESPIDF_MBEDTLS_O = $(patsubst %.c,%.o, $(filter-out %/error.c,\
512512
$(wildcard $(ESPCOMP)/mbedtls/mbedtls/library/*.c) \
513513
$(wildcard $(ESPCOMP)/mbedtls/port/*.c) \

ports/stm32/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ ifeq ($(MICROPY_SSL_MBEDTLS_ERRSTR),1)
475475
CFLAGS_MOD += -DMBEDTLS_ERROR_C=1
476476
# replace mbedtls' error.c by ours
477477
SRC_MOD := $(filter-out %/mbedtls/library/error.c, $(SRC_MOD))
478-
EXTMOD_SRC_C += extmod/mbedtls_errors/mp_mbedtls_errors.c
478+
EXTMOD_SRC_C += lib/mbedtls_errors/mp_mbedtls_errors.c
479479
endif
480480
endif
481481

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy