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