From ca24efff80cfde716499bf3c1d1ef2b405885cbf Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 27 Jul 2022 17:38:10 +0800 Subject: [PATCH] libs/libc: correct config name Signed-off-by: chao.an --- libs/libc/machine/arm/armv8-m/Make.defs | 24 ++++++++++++------------ libs/libc/math/Make.defs | 20 ++++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/libs/libc/machine/arm/armv8-m/Make.defs b/libs/libc/machine/arm/armv8-m/Make.defs index 6fa5d0a369..511b12d6b3 100644 --- a/libs/libc/machine/arm/armv8-m/Make.defs +++ b/libs/libc/machine/arm/armv8-m/Make.defs @@ -24,51 +24,51 @@ endif ifeq ($(CONFIG_ARMV8M_LIBM),y) -ifeq ($(LIBM_ARCH_CEIL),y) +ifeq ($(CONFIG_LIBM_ARCH_CEIL),y) CSRCS += arch_ceil.c endif -ifeq ($(LIBM_ARCH_CEILF),y) +ifeq ($(CONFIG_LIBM_ARCH_CEILF),y) CSRCS += arch_ceilf.c endif -ifeq ($(LIBM_ARCH_FLOOR),y) +ifeq ($(CONFIG_LIBM_ARCH_FLOOR),y) CSRCS += arch_floor.c endif -ifeq ($(LIBM_ARCH_FLOORF),y) +ifeq ($(CONFIG_LIBM_ARCH_FLOORF),y) CSRCS += arch_floorf.c endif -ifeq ($(LIBM_ARCH_NEARBYINT),y) +ifeq ($(CONFIG_LIBM_ARCH_NEARBYINT),y) CSRCS += arch_nearbyint.c endif -ifeq ($(LIBM_ARCH_NEARBYINTF),y) +ifeq ($(CONFIG_LIBM_ARCH_NEARBYINTF),y) CSRCS += arch_nearbyintf.c endif -ifeq ($(LIBM_ARCH_RINTF),y) +ifeq ($(CONFIG_LIBM_ARCH_RINTF),y) CSRCS += arch_rintf.c endif -ifeq ($(LIBM_ARCH_ROUNDF),y) +ifeq ($(CONFIG_LIBM_ARCH_ROUNDF),y) CSRCS += arch_roundf.c endif -ifeq ($(LIBM_ARCH_TRUNCF),y) +ifeq ($(CONFIG_LIBM_ARCH_TRUNCF),y) CSRCS += arch_truncf.c endif -ifeq ($(LIBM_ARCH_RINT),y) +ifeq ($(CONFIG_LIBM_ARCH_RINT),y) CSRCS += arch_rint.c endif -ifeq ($(LIBM_ARCH_ROUND),y) +ifeq ($(CONFIG_LIBM_ARCH_ROUND),y) CSRCS += arch_round.c endif -ifeq ($(LIBM_ARCH_TRUNC),y) +ifeq ($(CONFIG_LIBM_ARCH_TRUNC),y) CSRCS += arch_trunc.c endif diff --git a/libs/libc/math/Make.defs b/libs/libc/math/Make.defs index 5ea034d959..4b2cdfe701 100644 --- a/libs/libc/math/Make.defs +++ b/libs/libc/math/Make.defs @@ -60,43 +60,43 @@ CSRCS += __cos.c __sin.c lib_gamma.c lib_lgamma.c # Use the C versions of some functions only if architecture specific # optimized versions are not provided. -ifneq ($(LIBM_ARCH_CEIL),y) +ifneq ($(CONFIG_LIBM_ARCH_CEIL),y) CSRCS += lib_ceil.c endif -ifneq ($(LIBM_ARCH_FLOOR),y) +ifneq ($(CONFIG_LIBM_ARCH_FLOOR),y) CSRCS += lib_floor.c endif -ifneq ($(LIBM_ARCH_RINT),y) +ifneq ($(CONFIG_LIBM_ARCH_RINT),y) CSRCS += lib_rint.c endif -ifneq ($(LIBM_ARCH_ROUND),y) +ifneq ($(CONFIG_LIBM_ARCH_ROUND),y) CSRCS += lib_round.c endif -ifneq ($(LIBM_ARCH_TRUNC),y) +ifneq ($(CONFIG_LIBM_ARCH_TRUNC),y) CSRCS += lib_trunc.c endif -ifneq ($(LIBM_ARCH_CEILF),y) +ifneq ($(CONFIG_LIBM_ARCH_CEILF),y) CSRCS += lib_ceilf.c endif -ifneq ($(LIBM_ARCH_FLOORF),y) +ifneq ($(CONFIG_LIBM_ARCH_FLOORF),y) CSRCS += lib_floorf.c endif -ifneq ($(LIBM_ARCH_RINTF),y) +ifneq ($(CONFIG_LIBM_ARCH_RINTF),y) CSRCS += lib_rintf.c endif -ifneq ($(LIBM_ARCH_ROUNDF),y) +ifneq ($(CONFIG_LIBM_ARCH_ROUNDF),y) CSRCS += lib_roundf.c endif -ifneq ($(LIBM_ARCH_TRUNCF),y) +ifneq ($(CONFIG_LIBM_ARCH_TRUNCF),y) CSRCS += lib_truncf.c endif