summaryrefslogtreecommitdiffstats
path: root/make
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
parent03875474516cff1baf9d7daaa390f471590c31c7 (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 'make')
-rw-r--r--make/ChangeLog5
-rw-r--r--make/custom/ods68302.cfg8
2 files changed, 13 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index f25057fc30..b067cad5b7 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,4 +1,9 @@
+2001-09-28 Joel Sherrill <joel@OARcorp.com>
+
+ * custom/ods68302.cfg: Add custom make-cxx-exe rule to account
+ for MC68302_BASE.
+
2001-09-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/bare.cfg: Define dummy make-cxx-exe.
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