summaryrefslogtreecommitdiffstats
path: root/make/custom/gen68302.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/gen68302.cfg')
-rw-r--r--make/custom/gen68302.cfg10
1 files changed, 6 insertions, 4 deletions
diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg
index 265c5b22a4..5b21cd771a 100644
--- a/make/custom/gen68302.cfg
+++ b/make/custom/gen68302.cfg
@@ -16,7 +16,9 @@ RTEMS_BSP_FAMILY=gen68302
# 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
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -58,10 +60,10 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -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