summaryrefslogtreecommitdiffstats
path: root/make/custom/gen83xx.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-11 14:13:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-11 14:13:03 +0000
commit55a1cc9cde4f0b4494fbc2abd99b1434079dfc66 (patch)
tree404508e70f7bafec86289181ddd69d7af645c93f /make/custom/gen83xx.cfg
parent2007-07-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-55a1cc9cde4f0b4494fbc2abd99b1434079dfc66.tar.bz2
2007-07-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/gen83xx.cfg: Add make-cxx-exe rule.
Diffstat (limited to 'make/custom/gen83xx.cfg')
-rw-r--r--make/custom/gen83xx.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/custom/gen83xx.cfg b/make/custom/gen83xx.cfg
index b6bccf8df6..8026dd1e1b 100644
--- a/make/custom/gen83xx.cfg
+++ b/make/custom/gen83xx.cfg
@@ -36,4 +36,12 @@ define make-exe
$(SIZE) $(basename $@).exe
endef
+define make-cxx-exe
+ $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ -qnolinkcmds -T $(RTEMS_LINKCMDS) -o $(basename $@).exe \
+ $(LINK_OBJS) $(LINK_LIBS)
+ $(NM) -g -n $(basename $@).exe > $(basename $@).num
+ $(SIZE) $(basename $@).exe
+endef
+
# Miscellaneous additions go here