Changeset 3d703f4 in rtems


Ignore:
Timestamp:
Apr 26, 2018, 5:29:28 AM (15 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.

Files:
4 deleted
3 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
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r419d1e9 r3d703f4  
    1717noinst_PROGRAMS =
    1818
    19 _SUBDIRS = . tools
    20 
    21 TMPINSTALL_FILES =
    22 
    2319start.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/start.S
    2420        $(CPPASCOMPILE) -o $@ -c $<
    2521project_lib_DATA = start.$(OBJEXT)
    26 
    27 start16.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/start16.S
    28         $(CPPASCOMPILE) $(AM_CPPFLAGS) -DHEADERADDR=$(HEADERADDR) -o $@ -c $<
    29 
    30 start16-elf32.$(OBJEXT): start16.$(OBJEXT)
    31         $(LD) -N -Ttext $(START16ADDR) -e start16 -nostdlib \
    32           --oformat=elf32-i386 \
    33         -o $@ $<
    34 
    35 start16.bin: start16-elf32.$(OBJEXT)
    36         $(OBJCOPY) -O binary $< $@
    37 CLEANFILES += start16.bin
    38 
    39 $(PROJECT_LIB)/start16.bin: start16.bin $(PROJECT_LIB)/$(dirstamp)
    40         $(INSTALL_DATA) $< $(PROJECT_LIB)/start16.bin
    41 TMPINSTALL_FILES += $(PROJECT_LIB)/start16.bin
    42 
    43 project_lib_DATA += start16.bin
    4422
    4523project_lib_DATA += linkcmds
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r419d1e9 r3d703f4  
    143143AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
    144144
    145 RTEMS_CONFIG_BUILD_SUBDIRS(tools)
    146 
    147145AC_SUBST(RTEMS_BSP)
    148146
Note: See TracChangeset for help on using the changeset viewer.