mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
libc: Remove CONFIG_LIBC_ERR
let linker remove the unused object files from the final image Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
David Sidrane
parent
dd718e78f7
commit
e26d8759d0
@@ -37,7 +37,7 @@ endif
|
||||
|
||||
CSRCS += lib_dumpbuffer.c lib_dumpvbuffer.c lib_fnmatch.c lib_debug.c
|
||||
CSRCS += lib_crc64.c lib_crc32.c lib_crc16.c lib_crc8.c lib_crc8ccitt.c
|
||||
CSRCS += lib_crc8table.c lib_glob.c lib_execinfo.c lib_ftok.c
|
||||
CSRCS += lib_crc8table.c lib_glob.c lib_execinfo.c lib_ftok.c lib_err.c
|
||||
|
||||
# Keyboard driver encoder/decoder
|
||||
|
||||
@@ -57,10 +57,6 @@ ifeq ($(CONFIG_LIBC_ENVPATH),y)
|
||||
CSRCS += lib_envpath.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIBC_ERR),y)
|
||||
CSRCS += lib_err.c
|
||||
endif
|
||||
|
||||
# To ensure uname information is newest,
|
||||
# add lib_utsname.o to phony target for force rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user