summaryrefslogtreecommitdiffstats
path: root/make/custom/ods68302.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 23:09:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-28 23:09:16 +0000
commita463a2f86f31b3dd9f2c8e81a15507215467e503 (patch)
tree75ee7fec92f4fee2cd4563a36a35c08a8b59380c /make/custom/ods68302.cfg
parent2001-09-27 Jiri Gaisler <jiri@gaisler.com> (diff)
downloadrtems-a463a2f86f31b3dd9f2c8e81a15507215467e503.tar.bz2
2001-09-28 Joel Sherrill <joel@OARcorp.com>
* custom/ods68302.cfg: Add custom make-cxx-exe rule to account for MC68302_BASE.
Diffstat (limited to '')
-rw-r--r--make/custom/ods68302.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg
index d8df19105f..dae2801293 100644
--- a/make/custom/ods68302.cfg
+++ b/make/custom/ods68302.cfg
@@ -67,6 +67,14 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
+define make-cxx-exe
+ $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
+ -Wl,-defsym -Wl,MC68302_BASE=$(MC68302_BASE) \
+ -o $@ \
+ $(LINK_OBJS) $(LINK_LIBS)
+ $(NM) -g -n $@ > $(basename $@).num
+ $(SIZE) $@
+endef
endif
# Miscellaneous additions go here