summaryrefslogtreecommitdiffstats
path: root/make/custom/mrm332.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-20 15:27:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-20 15:27:56 +0000
commit41df507e89456ec7bc8c70d5f5c7c4ef806ea4bf (patch)
tree5c019be061c7591b3b9be9457076c72a3b3361c7 /make/custom/mrm332.cfg
parent2004-01-20 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-41df507e89456ec7bc8c70d5f5c7c4ef806ea4bf.tar.bz2
2004-01-20 Joel Sherrill <joel@OARcorp.com>
PR 553/bsps * custom/mrm332.cfg: Use OBJDUMP variable and turn invocation into a comment.
Diffstat (limited to '')
-rw-r--r--make/custom/mrm332.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/custom/mrm332.cfg b/make/custom/mrm332.cfg
index fbc61384f4..87d420ae69 100644
--- a/make/custom/mrm332.cfg
+++ b/make/custom/mrm332.cfg
@@ -28,6 +28,10 @@ ifeq ($(MRM_IN_ROM),yes)
# in the image.
CPU_CFLAGS += -qnolinkcmds -T $(exec_prefix)/mrm332/lib/linkcmds_ROM
+# This is a good way to get debug information. The output file is large
+# though and greatly slows the build process so only do this if needed.
+# $(OBJDUMP) -dxC $(basename $@).nxe > $(basename $@).dump
+
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).pxe \
$(LINK_OBJS) $(LINK_LIBS)
@@ -42,7 +46,6 @@ define make-exe
END { printf("0x%x", h2d(base) + h2d(size)) }'\
` $(basename $@).pxe $(basename $@).nxe
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
- m68k-rtems-objdump -dxC $(basename $@).nxe > $(basename $@).dump
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
$(PACKHEX) > $(basename $@).exe
$(NM) -g -n $(basename $@).pxe > $(basename $@).pnum