summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-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