Merged in masayuki2009/nuttx.nuttx/fix_build_error_for_elf (pull request #959)

libs/libc/machine/arm/armv7-m: Fix build error for elf

Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2019-07-30 13:08:59 +00:00 committed by Gregory Nutt
parent 4c9508fc50
commit 5bf674a99f

View File

@ -39,13 +39,11 @@ DEPPATH += --dep-path machine/arm/armv7-m/gnu
VPATH += :machine/arm/armv7-m/gnu
endif
ifeq ($(CONFIG_MACHINE_OPTS_ARMV7M),y)
ifeq ($(CONFIG_LIBC_ARCH_ELF),y)
CSRCS += arch_elf.c
endif
ifeq ($(CONFIG_MACHINE_OPTS_ARMV7M),y)
ifeq ($(CONFIG_LIBM_ARCH_FABSF),y)
CSRCS += arch_fabsf.c
endif
@ -53,7 +51,7 @@ endif
ifeq ($(CONFIG_LIBM_ARCH_SQRTF),y)
CSRCS += arch_sqrtf.c
endif
endif
DEPPATH += --dep-path machine/arm/armv7-m
VPATH += :machine/arm/armv7-m
endif