mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2010-03-26 Chris Johns <chrisj@rtems.org>
* make/custom/pc386.cfg: Revert the PR1495 change.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user