summaryrefslogtreecommitdiffstats
path: root/make/custom/sim68000.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/sim68000.cfg')
-rw-r--r--make/custom/sim68000.cfg16
1 files changed, 6 insertions, 10 deletions
diff --git a/make/custom/sim68000.cfg b/make/custom/sim68000.cfg
index 12bac70be4..337a64e66e 100644
--- a/make/custom/sim68000.cfg
+++ b/make/custom/sim68000.cfg
@@ -7,18 +7,14 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=m68k
-RTEMS_CPU_MODEL=m68000
-ifeq ($(RTEMS_BSVC_MODEL),sim68000)
-RTEMS_CPU_MODEL=m68000
-CPU_CFLAGS = -m68000
-else
ifeq ($(RTEMS_BSVC_MODEL),simcpu32)
RTEMS_CPU_MODEL=cpu32
CPU_CFLAGS = -mcpu32
-else
-RTEMS_CPU_MODEL=$(RTEMS_CPU_MODEL)_is_not_known
-endif # sim68000
-endif # simcpu32
+else
+RTEMS_BSVC_MODEL=sim68000
+RTEMS_CPU_MODEL=m68000
+CPU_CFLAGS = -m68000
+endif
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000
@@ -54,7 +50,7 @@ else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O ieee $(basename $@).nxe $(basename $@).exe
+ $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef