diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-06 21:51:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-03-06 21:51:01 +0000 |
commit | 6087a6925701db0d0da461fc38ec39bd73d02390 (patch) | |
tree | 8c6b313b671f943f5c661ea16c6b0c645c0c6473 /make/custom/mvme5500.cfg | |
parent | Switch back to old GCC_RPMREL versioning scheme. (diff) | |
download | rtems-6087a6925701db0d0da461fc38ec39bd73d02390.tar.bz2 |
Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file.
Diffstat (limited to '')
-rw-r--r-- | make/custom/mvme5500.cfg | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/make/custom/mvme5500.cfg b/make/custom/mvme5500.cfg index a4978d0872..60ac6972ed 100644 --- a/make/custom/mvme5500.cfg +++ b/make/custom/mvme5500.cfg @@ -22,14 +22,10 @@ CPU_CFLAGS = -fno-strict-aliasing -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altive # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ - $(OBJCOPY) -Obinary $@ $(@:%.exe=%)$(LIB_VARIANT).bin +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) endef -# Miscellaneous additions go here - # No start file START_BASE=mvme5500start |