summaryrefslogtreecommitdiffstats
path: root/make/custom/ts_386ex.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/ts_386ex.cfg')
-rw-r--r--make/custom/ts_386ex.cfg16
1 files changed, 4 insertions, 12 deletions
diff --git a/make/custom/ts_386ex.cfg b/make/custom/ts_386ex.cfg
index 15f00c7c43..95f8659f9a 100644
--- a/make/custom/ts_386ex.cfg
+++ b/make/custom/ts_386ex.cfg
@@ -21,20 +21,12 @@ CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
-# Something like this should produce a map file but this does not work.
-
-# -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
-#
-# This is a good way to get debug information. The rdmp file is large
-# though (1.9 Mb for hello) and greatly slows the build process.
-# $(OBJDUMP) -x -m i386 -d $(basename $@).elf > $(basename $@).rdmp
-
define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).exe
- $(NM) -g -n $(basename $@).elf > $(basename $@).num
- $(SIZE) $(basename $@).elf
+ $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
+ $(NM) -g -n $(basename $@).nxe > $(basename $@).num
+ $(SIZE) $(basename $@).nxe
endef
# Miscellaneous additions go here