summaryrefslogtreecommitdiffstats
path: root/make/custom/mvme2100.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/mvme2100.cfg')
-rw-r--r--make/custom/mvme2100.cfg32
1 files changed, 8 insertions, 24 deletions
diff --git a/make/custom/mvme2100.cfg b/make/custom/mvme2100.cfg
index 8e45b01a83..d4ee157f7d 100644
--- a/make/custom/mvme2100.cfg
+++ b/make/custom/mvme2100.cfg
@@ -19,30 +19,14 @@ CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
# 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
-
-define make-cxx-exe
- $(LINK.cc) $(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
- 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 $@
- rm -f rtems.gz
-endef
-
-# Miscellaneous additions go here