libs/libc: correct config name
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
0f7da4fd75
commit
ca24efff80
|
@ -24,51 +24,51 @@ endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARMV8M_LIBM),y)
|
ifeq ($(CONFIG_ARMV8M_LIBM),y)
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_CEIL),y)
|
ifeq ($(CONFIG_LIBM_ARCH_CEIL),y)
|
||||||
CSRCS += arch_ceil.c
|
CSRCS += arch_ceil.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_CEILF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_CEILF),y)
|
||||||
CSRCS += arch_ceilf.c
|
CSRCS += arch_ceilf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_FLOOR),y)
|
ifeq ($(CONFIG_LIBM_ARCH_FLOOR),y)
|
||||||
CSRCS += arch_floor.c
|
CSRCS += arch_floor.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_FLOORF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_FLOORF),y)
|
||||||
CSRCS += arch_floorf.c
|
CSRCS += arch_floorf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_NEARBYINT),y)
|
ifeq ($(CONFIG_LIBM_ARCH_NEARBYINT),y)
|
||||||
CSRCS += arch_nearbyint.c
|
CSRCS += arch_nearbyint.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_NEARBYINTF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_NEARBYINTF),y)
|
||||||
CSRCS += arch_nearbyintf.c
|
CSRCS += arch_nearbyintf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_RINTF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_RINTF),y)
|
||||||
CSRCS += arch_rintf.c
|
CSRCS += arch_rintf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_ROUNDF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_ROUNDF),y)
|
||||||
CSRCS += arch_roundf.c
|
CSRCS += arch_roundf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_TRUNCF),y)
|
ifeq ($(CONFIG_LIBM_ARCH_TRUNCF),y)
|
||||||
CSRCS += arch_truncf.c
|
CSRCS += arch_truncf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_RINT),y)
|
ifeq ($(CONFIG_LIBM_ARCH_RINT),y)
|
||||||
CSRCS += arch_rint.c
|
CSRCS += arch_rint.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_ROUND),y)
|
ifeq ($(CONFIG_LIBM_ARCH_ROUND),y)
|
||||||
CSRCS += arch_round.c
|
CSRCS += arch_round.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBM_ARCH_TRUNC),y)
|
ifeq ($(CONFIG_LIBM_ARCH_TRUNC),y)
|
||||||
CSRCS += arch_trunc.c
|
CSRCS += arch_trunc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -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
|
# Use the C versions of some functions only if architecture specific
|
||||||
# optimized versions are not provided.
|
# optimized versions are not provided.
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_CEIL),y)
|
ifneq ($(CONFIG_LIBM_ARCH_CEIL),y)
|
||||||
CSRCS += lib_ceil.c
|
CSRCS += lib_ceil.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_FLOOR),y)
|
ifneq ($(CONFIG_LIBM_ARCH_FLOOR),y)
|
||||||
CSRCS += lib_floor.c
|
CSRCS += lib_floor.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_RINT),y)
|
ifneq ($(CONFIG_LIBM_ARCH_RINT),y)
|
||||||
CSRCS += lib_rint.c
|
CSRCS += lib_rint.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_ROUND),y)
|
ifneq ($(CONFIG_LIBM_ARCH_ROUND),y)
|
||||||
CSRCS += lib_round.c
|
CSRCS += lib_round.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_TRUNC),y)
|
ifneq ($(CONFIG_LIBM_ARCH_TRUNC),y)
|
||||||
CSRCS += lib_trunc.c
|
CSRCS += lib_trunc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_CEILF),y)
|
ifneq ($(CONFIG_LIBM_ARCH_CEILF),y)
|
||||||
CSRCS += lib_ceilf.c
|
CSRCS += lib_ceilf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_FLOORF),y)
|
ifneq ($(CONFIG_LIBM_ARCH_FLOORF),y)
|
||||||
CSRCS += lib_floorf.c
|
CSRCS += lib_floorf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_RINTF),y)
|
ifneq ($(CONFIG_LIBM_ARCH_RINTF),y)
|
||||||
CSRCS += lib_rintf.c
|
CSRCS += lib_rintf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_ROUNDF),y)
|
ifneq ($(CONFIG_LIBM_ARCH_ROUNDF),y)
|
||||||
CSRCS += lib_roundf.c
|
CSRCS += lib_roundf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LIBM_ARCH_TRUNCF),y)
|
ifneq ($(CONFIG_LIBM_ARCH_TRUNCF),y)
|
||||||
CSRCS += lib_truncf.c
|
CSRCS += lib_truncf.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue