summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-20 20:36:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-20 20:36:26 +0000
commitd693386940b830714279c70c458d526f635e2936 (patch)
treee38bc92afac694a2d014ea48e47ce67c91c2fa2f /make/custom
parent2003-01-20 Duane Gustavus <duane@unt.edu> (diff)
downloadrtems-d693386940b830714279c70c458d526f635e2936.tar.bz2
2003-01-20 Duane Gustavus <duane@unt.edu>
* custom/m2m332.cfg: Fix path to linkcmds_ROM.
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/mrm332.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/custom/mrm332.cfg b/make/custom/mrm332.cfg
index ec8a0efe86..fbc61384f4 100644
--- a/make/custom/mrm332.cfg
+++ b/make/custom/mrm332.cfg
@@ -26,7 +26,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
ifeq ($(MRM_IN_ROM),yes)
# Build a rommable image - move the .data section after the .text section
# in the image.
-CPU_CFLAGS += -qnolinkcmds -T $(PROJECT_ROOT)/mrm332/lib/linkcmds_ROM
+CPU_CFLAGS += -qnolinkcmds -T $(exec_prefix)/mrm332/lib/linkcmds_ROM
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).pxe \
@@ -42,6 +42,7 @@ 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
@@ -53,6 +54,7 @@ define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
$(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 $@).nxe > $(basename $@).num