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/ss555.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 'make/custom/ss555.cfg')
-rw-r--r-- | make/custom/ss555.cfg | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/make/custom/ss555.cfg b/make/custom/ss555.cfg index 53f32bd42d..02b686816c 100644 --- a/make/custom/ss555.cfg +++ b/make/custom/ss555.cfg @@ -27,17 +27,12 @@ CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY) # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions -define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \ - -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm - cp $(basename $@)_sym.exe $(basename $@).exe - $(STRIP) $(basename $@).exe - $(SIZE) $(basename $@)_sym.exe +define bsp-post-link + $(default-bsp-post-link) + cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) endef -# Miscellaneous additions go here - # Override default start file START_BASE= |