2004-11-17 Joel Sherrill <joel@OARcorp.com>

* custom/mvme2100.cfg: Add make-cxx-exe rule.
This commit is contained in:
Joel Sherrill
2004-11-17 14:17:55 +00:00
parent eb9015ec50
commit e7c2c0f5be
2 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2004-11-17 Joel Sherrill <joel@OARcorp.com>
* custom/mvme2100.cfg: Add make-cxx-exe rule.
2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
* Makefile.am: Add MVME2100 BSP.

View File

@@ -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