Index: c/src/lib/libbsp/m68k/genmcf548x/ChangeLog
===================================================================
--- c/src/lib/libbsp/m68k/genmcf548x/ChangeLog	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/m68k/genmcf548x/ChangeLog	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -1,2 +1,6 @@
+2008-07-31	Joel Sherrill <joel.sherrill@OARcorp.com>
+
+	* Makefile.am: Do not build .rel files. Reduces code bloat.
+
 2008-07-17	Joel Sherrill <joel.sherrill@OARcorp.com>
 
Index: c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
===================================================================
--- c/src/lib/libbsp/m68k/genmcf548x/Makefile.am	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/m68k/genmcf548x/Makefile.am	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -26,29 +26,12 @@
 dist_project_lib_DATA += startup/linkcmds
 
-noinst_PROGRAMS += startup.rel
-startup_rel_SOURCES = startup/bspclean.c \
-    ../../shared/bsplibc.c ../../shared/bsppost.c \
-    ../../m68k/shared/m68kpretaskinghook.c \
-    startup/init548x.c startup/bspstart.c \
-    ../../shared/bootcard.c \
-    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
-    ../../shared/gnatinstallhandler.c
-startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
-startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_PROGRAMS += clock.rel
-clock_rel_SOURCES = clock/clock.c
-clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
-clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_PROGRAMS += console.rel
-console_rel_SOURCES = console/console.c
-console_rel_CPPFLAGS = $(AM_CPPFLAGS)
-console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_PROGRAMS += timer.rel
-timer_rel_SOURCES = timer/timer.c
-timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
-timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c  \
+  ../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
+  startup/init548x.c startup/bspstart.c ../../shared/bootcard.c \
+  ../../shared/sbrk.c ../../m68k/shared/setvec.c \
+  ../../shared/gnatinstallhandler.c
+clock_SOURCES = clock/clock.c
+console_SOURCES = console/console.c
+timer_SOURCES = timer/timer.c
 
 if HAS_NETWORKING
@@ -62,11 +45,13 @@
 
 noinst_LIBRARIES = libbsp.a
-libbsp_a_SOURCES =
-libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
+
+libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
+  $(timer_SOURCES)
+
+libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
+    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
 if HAS_NETWORKING
 libbsp_a_LIBADD += network.rel
 endif
-libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
-    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
 
 include $(srcdir)/preinstall.am
Index: c/src/lib/libbsp/powerpc/haleakala/ChangeLog
===================================================================
--- c/src/lib/libbsp/powerpc/haleakala/ChangeLog	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/powerpc/haleakala/ChangeLog	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -1,2 +1,6 @@
+2008-07-31	Joel Sherrill <joel.sherrill@OARcorp.com>
+
+	* Makefile.am: Do not build .rel files. Reduces code bloat.
+
 2008-07-17	Ralf CorsÃ©pius <ralf.corsepius@rtems.org>
 
Index: c/src/lib/libbsp/powerpc/haleakala/Makefile.am
===================================================================
--- c/src/lib/libbsp/powerpc/haleakala/Makefile.am	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/powerpc/haleakala/Makefile.am	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -29,38 +29,22 @@
 dist_project_lib_DATA += startup/linkcmds
 
-
-noinst_PROGRAMS += startup.rel
-startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
+startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
     ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
     ../../shared/sbrk.c \
     ../../shared/gnatinstallhandler.c
-startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
-startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
+dlentry_SOURCES = dlentry/dlentry.S
 
-noinst_PROGRAMS += dlentry.rel
-dlentry_rel_SOURCES = dlentry/dlentry.S
-dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
-dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
-include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
-
-noinst_PROGRAMS += console.rel
-console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
+include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
+    ../../powerpc/shared/console/consoleIo.h
+console_SOURCES = ../../powerpc/shared/console/uart.c \
     ../../powerpc/shared/console/console.c
-console_rel_CPPFLAGS = $(AM_CPPFLAGS)
-console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 include_bsp_HEADERS += irq/irq.h \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
 
-noinst_PROGRAMS += irq.rel
-irq_rel_SOURCES = irq/irq_init.c irq/irq.c
-irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
-irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
+irq_SOURCES = irq/irq_init.c irq/irq.c
 
 ## if HAS_NETWORKING
@@ -72,9 +56,15 @@
 ## endif
 
+noinst_LIBRARIES = libbsp.a
+libbsp_a_SOURCES = $(startup_SOURCES) $(dlentry_SOURCES) $(console_SOURCES) \
+    $(irq_SOURCES)
 
-noinst_LIBRARIES = libbsp.a
-libbsp_a_SOURCES =
-
-libbsp_a_LIBADD = startup.rel dlentry.rel console.rel irq.rel
+libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
+    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
+    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
+    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
+    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel 
 
 ## if HAS_NETWORKING
@@ -82,13 +72,4 @@
 ## endif
 
-libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
-	../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
-	../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
-	../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
-	../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel 
-
-
 EXTRA_DIST += times
 
Index: c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog
===================================================================
--- c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -1,2 +1,6 @@
+2008-07-31	Joel Sherrill <joel.sherrill@OARcorp.com>
+
+	* Makefile.am: Do not build .rel files. Reduces code bloat.
+
 2008-07-31	Joel Sherrill <joel.sherrill@OARcorp.com>
 
Index: c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
===================================================================
--- c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am	(revision 694c85ee13846668eec83631e57d997350df9394)
+++ c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am	(revision e483dc3a6e83b11e5e91affe796d90feda253279)
@@ -11,4 +11,6 @@
 
 DISTCLEANFILES = include/bspopts.h
+
+noinst_PROGRAMS =
 
 # Compiler specs
@@ -35,53 +37,18 @@
 include_bspdir = $(includedir)/bsp
 include_bsp_HEADERS = include/mpc55xxevb.h \
-	include/irq-config.h \
-	../../shared/include/irq-generic.h \
-	../shared/include/tictac.h
+    include/irq-config.h \
+    ../../shared/include/irq-generic.h \
+    ../shared/include/tictac.h
 
-# BSP library
-noinst_LIBRARIES = libbsp.a
-libbsp_a_SOURCES =
-libbsp_a_LIBADD = $(libcpudir)/shared/cpuIdent.rel \
-	$(libcpudir)/shared/cache.rel \
-	$(libcpudir)/shared/stack.rel \
-	$(libcpudir)/@RTEMS_CPU_MODEL@/misc.rel \
-	$(libcpudir)/@RTEMS_CPU_MODEL@/irq.rel \
-	$(libcpudir)/@RTEMS_CPU_MODEL@/edma.rel \
-	$(libcpudir)/@RTEMS_CPU_MODEL@/dspi.rel \
-	$(libcpudir)/@RTEMS_CPU_MODEL@/esci.rel \
-	$(libcpudir)/@exceptions@/rtems-cpu.rel \
-	$(libcpudir)/@exceptions@/raw_exception.rel \
-	$(libcpudir)/@exceptions@/exc_bspsupport.rel
+startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
+    ../../shared/bootcard.c ../shared/src/tictac.c startup/bspclean.c \
+    startup/bspstart.c
 
-# Startup
-noinst_PROGRAMS = startup.rel
-startup_rel_SOURCES = ../../shared/bsplibc.c \
-	../../shared/bsppost.c \
-	../../shared/bootcard.c \
-	../shared/src/tictac.c \
-	startup/bspclean.c \
-	startup/bspstart.c
-startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-libbsp_a_LIBADD += startup.rel
+clock_SOURCES = ../shared/clock/clock.c
 
-# Clock
-noinst_PROGRAMS += clock.rel
-clock_rel_SOURCES = ../shared/clock/clock.c
-clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-libbsp_a_LIBADD += clock.rel
+irq_generic_SOURCES = ../../shared/src/irq-generic.c \
+    ../../shared/src/irq-legacy.c
 
-# IRQ
-noinst_PROGRAMS += irq-generic.rel
-irq_generic_rel_SOURCES = ../../shared/src/irq-generic.c \
-	../../shared/src/irq-legacy.c
-irq_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-libbsp_a_LIBADD += irq-generic.rel
-
-# Tests
-noinst_PROGRAMS += tests.rel
-tests_rel_SOURCES = tests/tests.c \
-	startup/sd-card-init.c
-tests_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-libbsp_a_LIBADD += tests.rel
+tests_SOURCES = tests/tests.c startup/sd-card-init.c
 
 # Network
@@ -91,4 +58,24 @@
 network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
+endif
+
+# BSP library
+noinst_LIBRARIES = libbsp.a
+libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(irq_generic_SOURCES) \
+    $(tests_SOURCES)
+
+libbsp_a_LIBADD = $(libcpudir)/shared/cpuIdent.rel \
+    $(libcpudir)/shared/cache.rel \
+    $(libcpudir)/shared/stack.rel \
+    $(libcpudir)/@RTEMS_CPU_MODEL@/misc.rel \
+    $(libcpudir)/@RTEMS_CPU_MODEL@/irq.rel \
+    $(libcpudir)/@RTEMS_CPU_MODEL@/edma.rel \
+    $(libcpudir)/@RTEMS_CPU_MODEL@/dspi.rel \
+    $(libcpudir)/@RTEMS_CPU_MODEL@/esci.rel \
+    $(libcpudir)/@exceptions@/rtems-cpu.rel \
+    $(libcpudir)/@exceptions@/raw_exception.rel \
+    $(libcpudir)/@exceptions@/exc_bspsupport.rel
+
+if HAS_NETWORKING
 libbsp_a_LIBADD += network.rel
 endif
