libs/libc/math/Kconfig: Should select the NuttX float.h file automatically if the NuttX math library is selected.

This commit is contained in:
Gregory Nutt
2019-09-16 13:29:47 -06:00
parent a5a7fe2d8a
commit ecb0b15fd0
3 changed files with 31 additions and 18 deletions
+4 -4
View File
@@ -214,7 +214,7 @@ endif
ifeq ($(NEED_MATH_H),y)
include\math.h: include\nuttx\math.h
$(Q) cp -f include\nuttx\math.h include\math.h
$(Q) cp -pf include\nuttx\math.h include\math.h
else
include\math.h:
endif
@@ -227,7 +227,7 @@ endif
ifeq ($(CONFIG_ARCH_FLOAT_H),y)
include\float.h: include\nuttx\float.h
$(Q) cp -f include\nuttx\float.h include\float.h
$(Q) cp -pf include\nuttx\float.h include\float.h
else
include\float.h:
endif
@@ -239,7 +239,7 @@ endif
ifeq ($(CONFIG_ARCH_STDARG_H),y)
include\stdarg.h: include\nuttx\stdarg.h
$(Q) cp -f include\nuttx\stdarg.h include\stdarg.h
$(Q) cp -pf include\nuttx\stdarg.h include\stdarg.h
else
include\stdarg.h:
endif
@@ -251,7 +251,7 @@ endif
ifeq ($(CONFIG_ARCH_SETJMP_H),y)
include\setjmp.h: include\nuttx\setjmp.h
$(Q) cp -f include\nuttx\setjmp.h include\setjmp.h
$(Q) cp -pf include\nuttx\setjmp.h include\setjmp.h
else
include\setjmp.h:
endif