Changeset 3d703f4 in rtems for bsps/i386/pc386/config/pc386.cfg


Ignore:
Timestamp:
Apr 26, 2018, 5:29:28 AM (16 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8b5a801
Parents:
419d1e9
git-author:
Sebastian Huber <sebastian.huber@…> (04/26/18 05:29:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/27/18 05:11:58)
Message:

bsp/pc386: Remove bin2boot support

Update #3408.
Close #3410.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/i386/pc386/config/pc386.cfg

    r419d1e9 r3d703f4  
    2121 
    2222LDFLAGS = -Wl,--gc-sections
    23 
    24 # Here is the rule to actually build a $(ARCH)/foo$(EXEEXT)
    25 # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
    26 # Usage ref: src/tests/sptest/sp1/Makefile
    27 
    2823#+--------------------------------------------------------------------------+
    2924#| Set the value of RELOCADDR to the address where you want your image to
     
    3732  RELOCADDR=0x00100000
    3833
    39 START16FILE=$(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin
    40 START16ADDR=0x00097C00
    41 HEADERADDR=0x00097E00
    42 
    4334LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
    44 
    45 define bsp-post-link
    46         $(default-bsp-post-link)
    47         $(OBJCOPY) -O elf32-i386 \
    48             --remove-section=.comment \
    49             --remove-section=.note \
    50             --strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
    51         $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
    52         $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
    53           $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    54         rm -f $(basename $@).nxe
    55 endef
    56 
    57 # BSP-specific tools
    58 BIN2BOOT=$(PROJECT_TOOLS)/bin2boot
Note: See TracChangeset for help on using the changeset viewer.