summaryrefslogtreecommitdiffstats
path: root/make/custom/pc386.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 17:36:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 17:36:19 +0000
commitc6eba79c2d14e4c48bbe2974c21b65337a7bf80e (patch)
treec2c6c12b3542897b4d863a462dabd45ef343ec92 /make/custom/pc386.cfg
parentNew. (diff)
downloadrtems-c6eba79c2d14e4c48bbe2974c21b65337a7bf80e.tar.bz2
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/pc386.cfg, custom/sim68000.cfg, custom/ts_386ex.cfg: Clean up to use .nxe extension instead of BSP unique ones.
Diffstat (limited to 'make/custom/pc386.cfg')
-rw-r--r--make/custom/pc386.cfg20
1 files changed, 10 insertions, 10 deletions
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg
index 2961d4c043..72079833a9 100644
--- a/make/custom/pc386.cfg
+++ b/make/custom/pc386.cfg
@@ -47,18 +47,18 @@ HEADERADDR=0x00097E00
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \
- -o $(basename $@).elf \
+ -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O elf32-i386 \
--remove-section=.rodata \
--remove-section=.comment \
--remove-section=.note \
- --strip-unneeded $(basename $@).elf $@
- $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
+ --strip-unneeded $(basename $@).nxe $@
+ $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
$(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
- $(NM) -g -n $(basename $@).elf > $(basename $@).num
- $(SIZE) $(basename $@).elf
+ $(NM) -g -n $(basename $@).nxe > $(basename $@).num
+ $(SIZE) $(basename $@).nxe
# test -d ${PROJECT_RELEASE}/BootImgs \
# || mkdir ${PROJECT_RELEASE}/BootImgs
# f=`basename $@ .exe`; \
@@ -71,18 +71,18 @@ define make-exe
endef
define make-cxx-exe
$(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
- -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).elf \
+ -Wl,-Ttext,$(RELOCADDR) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O elf32-i386 \
--remove-section=.rodata \
--remove-section=.comment \
--remove-section=.note \
- --strip-unneeded $(basename $@).elf $@
- $(OBJCOPY) -O binary $(basename $@).elf $(basename $@).bin
+ --strip-unneeded $(basename $@).nxe $@
+ $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
$(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
- $(NM) -g -n $(basename $@).elf > $(basename $@).num
- $(SIZE) $(basename $@).elf
+ $(NM) -g -n $(basename $@).nxe > $(basename $@).num
+ $(SIZE) $(basename $@).nxe
endef
# Miscellaneous additions go here