aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-22 23:17:35 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-26 03:11:21 -0500
commitdd23de27c8e45513ad276f503a0036c3bc4e487b (patch)
tree42a2f555e46f6490828d00113eab13c05c81693d /newlib/libc/Makefile.am
parentfbfeebc221556d70ab473b153a44c92260c3caf0 (diff)
downloadnewlib-dd23de27c8e45513ad276f503a0036c3bc4e487b.zip
newlib-dd23de27c8e45513ad276f503a0036c3bc4e487b.tar.gz
newlib-dd23de27c8e45513ad276f503a0036c3bc4e487b.tar.bz2
newlib: libc: install CRT0 straight out of subdir
There's no need to have a sys/ subdir just to copy the sys/$arch/crt0.o up to sys/crt0.o, and then have libc/ copy sys/crt0.o up again. Just have libc/ refer to sys/$arch/crt0.o directly and drop the intermediate makefile entirely.
Diffstat (limited to 'newlib/libc/Makefile.am')
-rw-r--r--newlib/libc/Makefile.am10
1 files changed, 2 insertions, 8 deletions
diff --git a/newlib/libc/Makefile.am b/newlib/libc/Makefile.am
index a57c501..7807291 100644
--- a/newlib/libc/Makefile.am
+++ b/newlib/libc/Makefile.am
@@ -38,7 +38,7 @@ endif
# The order of SUBDIRS is important for the integrated documentation.
# Do not change the order without considering the doc impact.
-SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) string $(SIGNAL_SUBDIR) sys time locale reent \
+SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) string $(SIGNAL_SUBDIR) time locale reent \
errno misc $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) $(NEWLIB_ICONV_DIRS) \
$(XDR_SUBDIR) ssp
if HAVE_SYS_DIR
@@ -124,12 +124,6 @@ endif # USE_LIBTOOL
$(SUBLIBS): ; @true
-crt0.o: sys/crt0.o
- rm -f $@
- ln sys/crt0.o $@ >/dev/null 2>/dev/null || cp sys/crt0.o $@
-
-sys/crt0.o: ; @true
-
# This is a list of the stmp-def files in each subdirectory which
# builds .def files. We don't list subdirectories which don't build
# .def files; if the list of subdirectories changes, we must change
@@ -242,7 +236,7 @@ install-man: man
.PHONY: force
force:
-CLEANFILES = $(CRT0) \
+CLEANFILES = \
sigset.texi stmp-sigset \
stdio64.texi stmp-stdio64 targetdep.tex stmp-targetdep \
tmp-sigset.texi tmp-iconvset.texi \