forked from Imagelibrary/rtems
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>
|
2010-03-10 Gedare Bloom <gedare@gwu.edu>
|
||||||
|
|
||||||
PR 1495/bsp
|
PR 1495/bsp
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ endif
|
|||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
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
|
# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
|
||||||
# Usage ref: src/tests/sptest/sp1/Makefile
|
# Usage ref: src/tests/sptest/sp1/Makefile
|
||||||
|
|
||||||
@@ -43,17 +43,17 @@ HEADERADDR=0x00097E00
|
|||||||
|
|
||||||
LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
|
LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
|
||||||
|
|
||||||
#define bsp-post-link
|
define bsp-post-link
|
||||||
# $(default-bsp-post-link)
|
$(default-bsp-post-link)
|
||||||
# $(OBJCOPY) -O elf32-i386 \
|
$(OBJCOPY) -O elf32-i386 \
|
||||||
# --remove-section=.comment \
|
--remove-section=.comment \
|
||||||
# --remove-section=.note \
|
--remove-section=.note \
|
||||||
# --strip-unneeded $(basename $@).exe $(basename $@).nxe
|
--strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
|
||||||
# $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
|
$(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
|
||||||
# $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
|
$(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
|
||||||
# $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
|
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
|
||||||
# rm -f $(basename $@).nxe
|
rm -f $(basename $@).nxe
|
||||||
#endef
|
endef
|
||||||
|
|
||||||
# BSP-specific tools
|
# BSP-specific tools
|
||||||
BIN2BOOT=$(PROJECT_TOOLS)/bin2boot
|
BIN2BOOT=$(PROJECT_TOOLS)/bin2boot
|
||||||
|
|||||||
Reference in New Issue
Block a user