summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 20:51:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 20:51:50 +0000
commit6baa6646fa7a6bd2580a19d80cfebf519ab939ed (patch)
treef7ae0899922d8688b4ae85383cecd087351a933a
parent9bb1a937a282f10215e0822fc9cbb8a359e33259 (diff)
downloadrtems-6baa6646fa7a6bd2580a19d80cfebf519ab939ed.tar.bz2
Produce Srecords.
-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