From a463a2f86f31b3dd9f2c8e81a15507215467e503 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 28 Sep 2001 23:09:16 +0000 Subject: 2001-09-28 Joel Sherrill * custom/ods68302.cfg: Add custom make-cxx-exe rule to account for MC68302_BASE. --- make/ChangeLog | 5 +++++ make/custom/ods68302.cfg | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'make') 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 + + * custom/ods68302.cfg: Add custom make-cxx-exe rule to account + for MC68302_BASE. + 2001-09-21 Ralf Corsepius * 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 -- cgit v1.2.3