Changeset 7409426 in rtems


Ignore:
Timestamp:
Nov 14, 2001, 6:43:32 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5f4867d
Parents:
ad1fb14
Message:

2001-11-10 Ralf Corsepius <corsepiu@…>

  • custom/shsim.cfg: Remove HZ, BSP_CPPFLAGS, make-target-options.
  • custom/mvme2307.cfg: Fix PPC_USE_SPRG in make-target-options, re-adopt mcp750.cfg's make-exe.
Location:
make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rad1fb14 r7409426  
     1
     22001-11-10      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     3
     4        * custom/shsim.cfg: Remove HZ, BSP_CPPFLAGS, make-target-options.
     5        * custom/mvme2307.cfg: Fix PPC_USE_SPRG in make-target-options,
     6        re-adopt mcp750.cfg's make-exe.
    17
    282001-11-13      Joel Sherrill <joel@OARcorp.com>
  • make/custom/mvme2307.cfg

    rad1fb14 r7409426  
    3232        @echo "#define PPC_USE_DATA_CACHE 1"                   >>$@
    3333        @echo "#define PPC_VECTOR_FILE_BASE 0x0100"            >>$@
    34         @echo "#define PPC_USE_SPRG  1"
     34        @echo "#define PPC_USE_SPRG  1"                         >>$@
    3535endef
    3636
     
    6767#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    6868define make-exe
    69         $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
    70         $(NM) -g -n $@ > $(basename $@).num
    71         $(SIZE) $@
    72 #    The following commands make a bootable image but will not work outside
    73 #    the build tree.
    74 #       test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
    75 #       cp $@ $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \
    76 #       ( cd $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader; \
    77 #       $(MAKE) bootloader BINARY_LOADED=$@; )
    78 #       f=`basename $@ .exe`; \
    79 #        cp $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/bootloader \
    80 #           ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe \
    81 #       && chmod 755 \
    82 #         ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
     69        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
     70           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
     71        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     72        $(SIZE) $(basename $@).nxe
     73        $(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S
     74        gzip -vf9 rtems
     75        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
     76        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
     77        -Map $(basename $@).map && chmod 755 $@
     78        rm -f rtems.gz
    8379endef
    8480
  • make/custom/shsim.cfg

    rad1fb14 r7409426  
    44#  $Id$
    55#
    6 
    7 HZ=20000000
    86
    97include $(RTEMS_ROOT)/make/custom/default.cfg
     
    1412# This is the actual bsp directory used during the build process.
    1513RTEMS_BSP_FAMILY=shsim
    16 
    17 # BSP specific preprocessor flags.
    18 # These should only be used in BSP dependent directories.
    19 BSP_CPPFLAGS=-DHZ=$(HZ)
    2014
    2115#  This contains the compiler options necessary to select the CPU model
     
    2822# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
    2923CFLAGS_OPTIMIZE_V=-O2 -g
    30 
    31 #  This section makes the target dependent options file.
    32 
    33 define make-target-options
    34 endef
    3524
    3625# The following are definitions of make-exe which will work using ld as
Note: See TracChangeset for help on using the changeset viewer.