Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-12 21:55:04 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-07-12 21:55:04 +0400
commitce823baba072bc727e8f94d269e917e35172eac2 (patch)
treec254b57f3e32ed0272540eeae0729fc77be0ef68 /libgloss/mips/Makefile.in
parent451e452847554155d2bb9867dc00fb204a519f78 (diff)
2002-07-12 Chris Demetriou <cgd@broadcom.com>
* mips/Makefile.in (GENOBJS2): New variable to name other commonly used objects. (DVEOBJS, JMR3904OBJS): Reference GENOBJS2. * mips/Makefile.in: Add support for Broadcom CFE firmware. * mips/configure.in: (mipsisa32*-*-*, *): Likewise. * mips/configure: Regenerate. * mips/cfe.c: New file. * mips/cfe.ld: New file. * mips/cfe_api.c: New file. * mips/cfe_api.h: New file. * mips/cfe_api_int.h: New file. * mips/cfe_error.h: New file. * mips/cfe_prestart.S: New file.
Diffstat (limited to 'libgloss/mips/Makefile.in')
-rw-r--r--libgloss/mips/Makefile.in24
1 files changed, 20 insertions, 4 deletions
diff --git a/libgloss/mips/Makefile.in b/libgloss/mips/Makefile.in
index 51c3a5aab..14fecaa20 100644
--- a/libgloss/mips/Makefile.in
+++ b/libgloss/mips/Makefile.in
@@ -67,12 +67,14 @@ CRT0 = @crt0@
PCRT0 = @pcrt0@
GENOBJS = syscalls.o fstat.o getpid.o isatty.o kill.o \
lseek.o print.o putnum.o stat.o unlink.o
+GENOBJS2 = open.o close.o read.o write.o
IDTOBJS = idtmon.o @part_specific_obj@ ${GENOBJS}
PMONOBJS = pmon.o @part_specific_obj@ ${GENOBJS}
LSIOBJS = lsipmon.o @part_specific_obj@ ${GENOBJS}
-DVEOBJS = open.o close.o dvemon.o read.o write.o @part_specific_obj@ ${GENOBJS}
-JMR3904OBJS = open.o close.o jmr3904-io.o read.o write.o \
- @part_specific_obj@ ${GENOBJS}
+DVEOBJS = dvemon.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
+JMR3904OBJS = jmr3904-io.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
+CFEOBJS = cfe.o cfe_api.o cfe_prestart.o \
+ @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
# Nullmon cannot support read and write, but the test cases pull them in via libs
NULLMONOBJS = nullmon.o @part_specific_obj@ ${GENOBJS}
@@ -129,6 +131,10 @@ libjmr3904.a: $(JMR3904OBJS)
${AR} ${ARFLAGS} $@ $(JMR3904OBJS)
${RANLIB} $@
+libcfe.a: $(CFEOBJS)
+ ${AR} ${ARFLAGS} $@ $(CFEOBJS)
+ ${RANLIB} $@
+
# nullmon.a , This is what you want if you want crt0 but NO mon services
# Supports GDB sim testing, board bringups, ICE operation.
libnullmon.a: $(NULLMONOBJS)
@@ -141,7 +147,7 @@ libnullmon.a: $(NULLMONOBJS)
# in the comand line for ld, and all the symbols will get fully
# resolved.
-test: $(OBJS) ${BSP} pmon-test idt-test
+test: $(OBJS) ${BSP} pmon-test idt-test cfe-test
@echo Done...
dtor.o: $(srcdir)/dtor.C
@@ -170,6 +176,16 @@ idt-test.dis: idt-test.x
$(OBJDUMP) -d idt-test.x > $@
idt-test: idt-test.srec idt-test.dis
+cfe-test.x: test.o ${CRT0} Makefile libcfe.a
+ ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
+ test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Tcfe.ld
+cfe-test.srec: cfe-test.x
+ $(OBJCOPY) -O srec cfe-test.x $@
+cfe-test.dis: cfe-test.x
+ @rm -fr cfe-test.dis
+ $(OBJDUMP) -d cfe-test.x > $@
+cfe-test: cfe-test.srec cfe-test.dis
+
doc:
clean mostlyclean: