2010-03-26 Chris Johns <chrisj@rtems.org>

* make/custom/pc386.cfg: Revert the PR1495 change.
This commit is contained in:
Chris Johns
2010-03-26 02:21:20 +00:00
parent 1b3f7e927d
commit f3d3fd28e4
2 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2010-03-26 Chris Johns <chrisj@rtems.org>
* make/custom/pc386.cfg: Revert the PR1495 change.
2010-03-10 Gedare Bloom <gedare@gwu.edu>
PR 1495/bsp

View File

@@ -22,7 +22,7 @@ endif
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
# Here is the rule to actually build a $(ARCH)/foo.exe
# Here is the rule to actually build a $(ARCH)/foo$(EXEEXT)
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
# Usage ref: src/tests/sptest/sp1/Makefile
@@ -43,17 +43,17 @@ HEADERADDR=0x00097E00
LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
#define bsp-post-link
# $(default-bsp-post-link)
# $(OBJCOPY) -O elf32-i386 \
# --remove-section=.comment \
# --remove-section=.note \
# --strip-unneeded $(basename $@).exe $(basename $@).nxe
# $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
# $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
# $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
# rm -f $(basename $@).nxe
#endef
define bsp-post-link
$(default-bsp-post-link)
$(OBJCOPY) -O elf32-i386 \
--remove-section=.comment \
--remove-section=.note \
--strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
$(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
rm -f $(basename $@).nxe
endef
# BSP-specific tools
BIN2BOOT=$(PROJECT_TOOLS)/bin2boot