diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-10-31 19:19:08 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-10-31 19:19:08 +0000 |
commit | 75241b15dbe979163b1cc95df6a5c16e30ddde7b (patch) | |
tree | 0b3d11e5730816f974785eb6ff133500620cac8f /libgloss/mn10300/Makefile.in | |
parent | 747e5773319f36839927dd67005ceab836ede48d (diff) | |
download | cygnal-75241b15dbe979163b1cc95df6a5c16e30ddde7b.tar.gz cygnal-75241b15dbe979163b1cc95df6a5c16e30ddde7b.tar.bz2 cygnal-75241b15dbe979163b1cc95df6a5c16e30ddde7b.zip |
2001-10-31 David Howells <dhowells@redhat.com>
* syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
* mn10300/times.c: Renamed "times" to "_times" so that it can be
referenced by newlib.
* mn10300/cygmon.c: New file.
* mn10300/crt0_redboot.S: Ditto.
* mn10300/crt0_cygmon.S: Ditto.
* mn10300/Makefile.in: Added RedBoot and Cygmon support.
* mn10300/configure.in: Changed to allow for future
evaluation boards to be added.
* mn10300/configure: Regenerated.
Diffstat (limited to 'libgloss/mn10300/Makefile.in')
-rw-r--r-- | libgloss/mn10300/Makefile.in | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/libgloss/mn10300/Makefile.in b/libgloss/mn10300/Makefile.in index 9ed0055e2..11cd3db01 100644 --- a/libgloss/mn10300/Makefile.in +++ b/libgloss/mn10300/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (c) 1998 Cygnus Support +# Copyright (c) 1998, 2000 Cygnus Support # # The authors hereby grant permission to use, copy, modify, distribute, # and license this software and its documentation for any purpose, provided @@ -63,24 +63,26 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \ then echo ${objroot}/../binutils/objcopy ; \ else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` -CRT0 = crt0.o +CRT0 = crt0.o crt0_cygmon.o crt0_redboot.o # Generic object files common to all targets. -GENOBJS = _exit.o access.o chmod.o close.o crt1.o \ +GENOBJS_NO_TRAP = _exit.o access.o chmod.o close.o crt1.o \ fstat.o getpid.o isatty.o \ kill.o lseek.o open.o read.o \ - sbrk.o stat.o time.o trap.o unlink.o utime.o write.o + sbrk.o stat.o time.o times.o unlink.o utime.o write.o +GENOBJS = ${GENOBJS_NO_TRAP} trap.o # Object files specific to particular targets. EVALOBJS = ${GENOBJS} +CYGMONOBJS = cygmon.o ${GENOBJS_NO_TRAP} CFLAGS = -g GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \ then echo -L${objroot}/../gcc ; fi` -SCRIPTS = eval sim -BSP = libeval.a +SCRIPTS = @script_list@ +BSP = @bsp_list@ # Host specific makefile fragment comes in here. @host_makefile_frag@ @@ -100,13 +102,17 @@ libeval.a: $(EVALOBJS) ${AR} ${ARFLAGS} $@ $(EVALOBJS) ${RANLIB} $@ +libcygmon.a: $(CYGMONOBJS) + ${AR} ${ARFLAGS} $@ $(CYGMONOBJS) + ${RANLIB} $@ + # compile a fully linked binary. The -Wl,-T*.ld is for the linker # script. By using -Wl, the linker script is put on the proper place # in the comand line for ld, and all the symbols will get fully # resolved. -test: $(CRT0) test.o +test: ${CRT0} test.o ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \ test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Teval.ld @echo Done... @@ -121,7 +127,9 @@ distclean maintainer-clean realclean: clean .PHONY: install info install-info clean-info install: - $(INSTALL_PROGRAM) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0) + @for crt in ${CRT0}; do\ + $(INSTALL_PROGRAM) $${crt} $(tooldir)/lib${MULTISUBDIR}/$${crt}; \ + done @for bsp in ${BSP}; do\ $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \ done @@ -136,7 +144,8 @@ clean-info: test.o: ${srcdir}/test.c # these are for the BSPs -${CRT0}: ${srcdir}/crt0.S +crt0.o: ${srcdir}/crt0.S +crt0_cygmon.o: ${srcdir}/crt0_cygmon.S # target specific makefile fragment comes in here. @target_makefile_frag@ |