libc: Move stack check stuff from libc/stdlib/ to libc/assert/

since the new location is more reasonable

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-02-20 20:00:57 +08:00 committed by David Sidrane
parent 6b83f6a8fe
commit 533a7319d9
3 changed files with 5 additions and 5 deletions

View File

@ -20,6 +20,10 @@
CSRCS += lib_assert.c
ifeq ($(CONFIG_STACK_CANARIES),y)
CSRCS += lib_stackchk.c
endif
# Add the assert directory to the build
DEPPATH += --dep-path assert

View File

@ -1,5 +1,5 @@
/****************************************************************************
* libs/libc/stdlib/lib_stackchk.c
* libs/libc/assert/lib_stackchk.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

View File

@ -36,10 +36,6 @@ ifeq ($(CONFIG_PSEUDOTERM_SUSV1),y)
CSRCS += lib_ptsname.c lib_ptsnamer.c
endif
ifeq ($(CONFIG_STACK_CANARIES),y)
CSRCS += lib_stackchk.c
endif
ifeq ($(CONFIG_PSEUDOTERM),y)
CSRCS += lib_unlockpt.c
endif