From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- make/custom/ods68302.cfg | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'make/custom/ods68302.cfg') diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg index d8e46eb6a1..b370681db1 100644 --- a/make/custom/ods68302.cfg +++ b/make/custom/ods68302.cfg @@ -20,7 +20,9 @@ RTEMS_BSP_FAMILY=ods68302 # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS =-m68302 -msoft-float +# 68000+softfloat results in gcc 2.95.2 giving default libraries. +# CPU_CFLAGS = -m68302 -msoft-float +CPU_CFLAGS = -m68302 CPU_DEFINES = \ -DVARIANT=$(BSP_VARIANT) -DMC68302_BASE=$(MC68302_BASE) \ -DRAM_BASE=$(RAM_BASE) -DRAM_SIZE=$(RAM_SIZE) \ @@ -71,12 +73,12 @@ define make-exe endef else define make-exe - $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) \ + $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ -Wl,-defsym -Wl,MC68302_BASE=$(MC68302_BASE) \ - -o $(basename $@).exe \ + -o $@ \ $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe + $(NM) -g -n $@ > $(basename $@).num + $(SIZE) $@ endef endif # Miscellaneous additions go here -- cgit v1.2.3