diff options
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r-- | newlib/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am index be01388ae..4d0028db1 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -79,7 +79,7 @@ endif noinst_DATA = stmp-targ-include -toollib_DATA = $(CRT0) +toollib_DATA = $(CRT0) $(CRT1) # The functions ldexp, frexp and modf are traditionally supplied in @@ -169,6 +169,14 @@ crt0.o: $(CRT0_DIR)/$(CRT0) $(CRT0_DIR)/$(CRT0): ; @true +crt1.o: $(CRT1_DIR)/$(CRT1) + rm -f $@ + ln $(CRT0_DIR)/$(CRT0) $@ >/dev/null 2>/dev/null \ + || cp $(CRT0_DIR)/$(CRT0) $@ + +$(CRT1_DIR)/$(CRT1): ; @true + + all-recursive: stmp-targ-include # The targ-include directory just holds the includes files for the |