summaryrefslogtreecommitdiffstats
path: root/make/custom/mcp750.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/mcp750.cfg')
-rw-r--r--make/custom/mcp750.cfg19
1 files changed, 8 insertions, 11 deletions
diff --git a/make/custom/mcp750.cfg b/make/custom/mcp750.cfg
index 624e9a89b9..ea9cdd0d5f 100644
--- a/make/custom/mcp750.cfg
+++ b/make/custom/mcp750.cfg
@@ -20,17 +20,14 @@ CPU_CFLAGS = -mcpu=750 -Dmpc750
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
-define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
- -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
- $(NM) -g -n $(basename $@).nxe > $(basename $@).num
- $(SIZE) $(basename $@).nxe
- $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
+define bsp-post-link
+ $(default-bsp-post-link)
+ $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
gzip -vf9 rtems
- $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
- -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
- -Map $(basename $@).map && chmod 755 $@
+ $(LD) -o $(basename $@)$(DOWNEXT) \
+ $ $(PROJECT_RELEASE)/lib/bootloader.o \
+ --just-symbols=$(basename $@)$(EXEEXT) \
+ -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
+ -Map $(basename $@).map && chmod 755 $@
rm -f rtems.gz
endef
-
-# Miscellaneous additions go here