From 41df507e89456ec7bc8c70d5f5c7c4ef806ea4bf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 20 Jan 2004 15:27:56 +0000 Subject: 2004-01-20 Joel Sherrill PR 553/bsps * custom/mrm332.cfg: Use OBJDUMP variable and turn invocation into a comment. --- make/custom/mrm332.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'make/custom/mrm332.cfg') 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 -- cgit v1.2.3