diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-21 14:57:33 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-22 01:28:54 +0300 |
commit | 8776d090f848b4ba752ba363db8fd0de1e578155 (patch) | |
tree | 9245905075d6a13780ea0d1fe59f97013bee898f /newlib/libc/reent | |
parent | 4af35511360b00157ce6829ed0530b63d284dff8 (diff) |
newlib: stop making .def generation conditional
Generating these files is very cheap, so let's just do it all the time.
This makes the build logic simpler, and keeps errors for slipping in in
codepaths that are not well tested. Creating these files doesn't mean
they'll be included in the manual implicitly.
For example, some of the nano stdio files break documentation because
they don't have any chew directives in them. But no one noticed since
that code path is rarely enabled. So drop the _i and _float def files.
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r-- | newlib/libc/reent/Makefile.am | 11 | ||||
-rw-r--r-- | newlib/libc/reent/Makefile.in | 11 |
2 files changed, 8 insertions, 14 deletions
diff --git a/newlib/libc/reent/Makefile.am b/newlib/libc/reent/Makefile.am index a8544c8a2..622a74c82 100644 --- a/newlib/libc/reent/Makefile.am +++ b/newlib/libc/reent/Makefile.am @@ -8,12 +8,6 @@ STDIO64_SOURCES = \ lseek64r.c \ stat64r.c \ open64r.c - -STDIO64_DEFS = \ - fstat64r.def \ - lseek64r.def \ - stat64r.def \ - open64r.def endif ELIX_2_SOURCES = $(STDIO64_SOURCES) @@ -72,20 +66,23 @@ CHEWOUT_FILES = \ reent.def \ execr.def \ fcntlr.def \ + fstat64r.def \ fstatr.def \ gettimeofdayr.def \ linkr.def \ + lseek64r.def \ lseekr.def \ mkdirr.def \ + open64r.def \ openr.def \ readr.def \ renamer.def \ signalr.def \ sbrkr.def \ + stat64r.def \ statr.def \ timesr.def \ unlinkr.def \ - $(STDIO64_DEFS) \ writer.def CHAPTERS = reent.tex diff --git a/newlib/libc/reent/Makefile.in b/newlib/libc/reent/Makefile.in index d243d4adc..d02eb8a2e 100644 --- a/newlib/libc/reent/Makefile.in +++ b/newlib/libc/reent/Makefile.in @@ -378,12 +378,6 @@ AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) @HAVE_STDIO64_DIR_TRUE@ stat64r.c \ @HAVE_STDIO64_DIR_TRUE@ open64r.c -@HAVE_STDIO64_DIR_TRUE@STDIO64_DEFS = \ -@HAVE_STDIO64_DIR_TRUE@ fstat64r.def \ -@HAVE_STDIO64_DIR_TRUE@ lseek64r.def \ -@HAVE_STDIO64_DIR_TRUE@ stat64r.def \ -@HAVE_STDIO64_DIR_TRUE@ open64r.def - ELIX_2_SOURCES = $(STDIO64_SOURCES) ELIX_3_SOURCES = execr.c @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES) @@ -435,20 +429,23 @@ CHEWOUT_FILES = \ reent.def \ execr.def \ fcntlr.def \ + fstat64r.def \ fstatr.def \ gettimeofdayr.def \ linkr.def \ + lseek64r.def \ lseekr.def \ mkdirr.def \ + open64r.def \ openr.def \ readr.def \ renamer.def \ signalr.def \ sbrkr.def \ + stat64r.def \ statr.def \ timesr.def \ unlinkr.def \ - $(STDIO64_DEFS) \ writer.def CHAPTERS = reent.tex |