summaryrefslogtreecommitdiffstats
path: root/make/custom/mvme2307.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/mvme2307.cfg18
1 files changed, 7 insertions, 11 deletions
diff --git a/make/custom/mvme2307.cfg b/make/custom/mvme2307.cfg
index 646426bb18..609a69bce8 100644
--- a/make/custom/mvme2307.cfg
+++ b/make/custom/mvme2307.cfg
@@ -20,20 +20,16 @@ CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
-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
-
# No start file
START_BASE=