diff options
Diffstat (limited to '')
-rw-r--r-- | make/custom/mbx8xx.cfg | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/make/custom/mbx8xx.cfg b/make/custom/mbx8xx.cfg index da1f585528..79b0ccc141 100644 --- a/make/custom/mbx8xx.cfg +++ b/make/custom/mbx8xx.cfg @@ -45,21 +45,16 @@ RTEMS_BSP_FAMILY=mbx8xx # CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL) - # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions -define make-exe - $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_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 -endef - -# Miscellaneous additions go here - # Override default start file START_BASE= +AM_LDFLAGS += $(MBX8xx_LDFLAGS) + +define bsp-post-link + cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef |