diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-17 14:17:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-17 14:17:55 +0000 |
commit | e7c2c0f5be751f832ee47179352c38ccc83c69a9 (patch) | |
tree | 18dcbd7838cc023b8900ecc7a0ec215015043ee9 /make/custom | |
parent | 2004-11-17 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-e7c2c0f5be751f832ee47179352c38ccc83c69a9.tar.bz2 |
2004-11-17 Joel Sherrill <joel@OARcorp.com>
* custom/mvme2100.cfg: Add make-cxx-exe rule.
Diffstat (limited to 'make/custom')
-rw-r--r-- | make/custom/mvme2100.cfg | 13 |
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 |