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.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/custom/mvme2100.cfg b/make/custom/mvme2100.cfg
index 951261787d..577331bbd2 100644
--- a/make/custom/mvme2100.cfg
+++ b/make/custom/mvme2100.cfg
@@ -44,4 +44,17 @@ define make-exe
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