Changeset c2b12f2 in rtems


Ignore:
Timestamp:
12/18/01 14:11:02 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
efcb89c
Parents:
ac43f07
Message:

2001-12-09 Ralf Corsepius <corsepiu@…>

  • custom/armulator.cfg: Remove make-target-options.
  • custom/erc32.cfg: Remove CONSOLE_USE_INTERRUPTS, SIMSPARC_FAST_IDLE (now in erc32/configure.ac).
  • custom/leon2.cfg: Remove CONSOLE_USE_INTERRUPTS, SIMSPARC_FAST_IDLE (now in leon2/configure.ac). Remove CONSOLE_USE_POLLED (Unused).
  • custom/mvme167.cfg: Remove CD2401_INT_LEVEL, CD2401_IO_MODE, CD2401_USE_TERMIOS (now in mvme167/configure.ac).
  • custom/mvme162.cfg: Remove references to mvme162lx. Abandon gcc272. Remove make-target-options.
  • custom/mvme162lx.cfg: Add portions formerly in mvme162.cfg.
Location:
make
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rac43f07 rc2b12f2  
     12001-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * custom/armulator.cfg: Remove make-target-options.
     4        * custom/erc32.cfg: Remove CONSOLE_USE_INTERRUPTS, SIMSPARC_FAST_IDLE
     5        (now in erc32/configure.ac).
     6        * custom/leon2.cfg: Remove CONSOLE_USE_INTERRUPTS,
     7        SIMSPARC_FAST_IDLE (now in leon2/configure.ac).
     8        Remove CONSOLE_USE_POLLED (Unused).
     9        * custom/mvme167.cfg: Remove CD2401_INT_LEVEL, CD2401_IO_MODE,
     10        CD2401_USE_TERMIOS (now in mvme167/configure.ac).
     11        * custom/mvme162.cfg: Remove references to mvme162lx.
     12        Abandon gcc272. Remove make-target-options.
     13        * custom/mvme162lx.cfg: Add portions formerly in mvme162.cfg.
     14
    1152001-12-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    216
  • make/custom/armulator.cfg

    rac43f07 rc2b12f2  
    1212# This is the actual bsp directory used during the build process.
    1313RTEMS_BSP_FAMILY=armulator
    14 
    15 #  This section makes the target dependent options file.
    1614
    1715#  This contains the compiler options necessary to select the CPU model
  • make/custom/erc32.cfg

    rac43f07 rc2b12f2  
    3939#     do not have a second trap table -- use the BSP's
    4040#
    41 #  CONSOLE_USE_INTERRUPTS (erc32_bsp)
    42 #     The erc32 console driver can operate in either polled or interrupt mode.
    43 #     Under the simulator (especially when FAST_UART is defined), polled seems
    44 #     to operate better.  It is common for a task to print a line (like the
    45 #     end of test message) and then exit.  In this case, the program returns
    46 #     control to the simulator command line before the program has even queued
    47 #     the output to the uart.  Thus sis has no chance of getting the data out.
    48 #
    49 #  SIMSPARC_FAST_IDLE (erc32_bsp)
    50 #     If defined, speed up the clock ticks while the idle task is running so
    51 #     time spent in the idle task is minimized.  This significantly reduces
    52 #     the wall time required to execute the RTEMS test suites.
    53 #
    5441#  FPU_REVB (erc32_bsp)
    5542#     If defined, enables work-around for bug 3.14 in FPU rev.B or rev.C
    5643#
    57 #  CPU_U32_FIX (all)
     44#  CPU_U32_FIX (all) libchip/network/sonic.*
    5845#     Needed to align received TCP/IP packets since SPARC does not
    5946#     support unaligned memory access.
     
    6249define make-target-options
    6350        @echo "#define NO_TABLE_MOVE 1"                            >>$@
    64         @echo "/* #define SIMSPARC_FAST_IDLE 1 */"                 >>$@
    6551        @echo "/* #define FPU_REVB 1 */"                           >>$@
    6652        @echo "#define CPU_U32_FIX 1"                              >>$@
  • make/custom/leon2.cfg

    rac43f07 rc2b12f2  
    3737#     do not have a second trap table -- use the BSP's
    3838#
    39 #  CONSOLE_USE_POLLED     (leon_bsp)
    40 #  CONSOLE_USE_INTERRUPTS (leon_bsp)
    41 #     The erc32 console driver can operate in either polled or interrupt mode.
    42 #     Under the simulator (especially when FAST_UART is defined), polled seems
    43 #     to operate better.  It is common for a task to print a line (like the
    44 #     end of test message) and then exit.  In this case, the program returns
    45 #     control to the simulator command line before the program has even queued
    46 #     the output to the uart.  Thus sis has no chance of getting the data out.
    47 #
    48 #  SIMSPARC_FAST_IDLE (leon_bsp)
    49 #     If defined, speed up the clock ticks while the idle task is running so
    50 #     time spent in the idle task is minimized.  This significantly reduces
    51 #     the wall time required to execute the RTEMS test suites.
    52 #
    5339#  CPU_U32_FIX (all)
    5440#     Needed to align received TCP/IP packets since SPARC does not
     
    5844define make-target-options
    5945        @echo "#define NO_TABLE_MOVE 1"                            >>$@
    60         @echo "#define CONSOLE_USE_INTERRUPTS 0"                   >>$@
    61         @echo "#define CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@
    62         @echo "/* #define SIMSPARC_FAST_IDLE 1 */"                 >>$@
    6346        @echo "#define CPU_U32_FIX 1"                              >>$@
    6447endef
  • make/custom/mvme162.cfg

    rac43f07 rc2b12f2  
    99RTEMS_CPU=m68k
    1010
    11 ifeq ($(RTEMS_MVME162_MODEL),mvme162lx)
    12 
    13 RTEMS_CPU_MODEL=m68lc040
    14 
    15 else
    16 ifeq ($(RTEMS_MVME162_MODEL),)
    17 
    1811RTEMS_MVME162_MODEL=mvme162
    1912RTEMS_CPU_MODEL=m68040
    20 
    21 endif # mvme162   - mc68040
    22 endif # mvme162lx - mc68lc040
    2313
    2414# This is the actual bsp directory used during the build process.
     
    2919#
    3020
    31 ifeq ($(RTEMS_CPU_MODEL),m68040)
    3221CPU_CFLAGS = -m68040
    33 else
    34 ifeq ($(RTEMS_CPU_MODEL),m68lc040)
    35 CPU_CFLAGS = -m68040 -msoft-float
    36 endif # mc68040
    37 endif # mc68lc040
    3822
    3923# optimize flag: typically -0, could use -O4 or -fast
     
    4125CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    4226
    43 #  This section makes the target dependent options file.
    44 
    45 define make-target-options
    46         @echo "#undef $(RTEMS_MVME162_MODEL)"               >>$@
    47         @echo "#define $(RTEMS_MVME162_MODEL)"              >>$@
    48 endef
    49 
    5027# The following are definitions of make-exe which will work using ld as
    5128# is currently required.  It is expected that as of gcc 2.8, the end user
    5229# will be able to override parts of the compilers specs and link using gcc.
    5330
    54 ifeq ($(RTEMS_USE_GCC272),yes)
    55 
    56 ifeq ($(RTEMS_CPU_MODEL),m68lc040)
    57 # override default location of Standard C Library
    58 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/msoft-float/libc.a
    59 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/msoft-float/libm.a
    60 endif # mc68lc040
    61 
    62 define make-exe
    63         $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \
    64             $(START_FILE) $(LINK_OBJS) \
    65             --start-group $(LINK_LIBS) --end-group
    66         $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    67         sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    68             $(PACKHEX) > $(basename $@).exe
    69         $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    70         $(SIZE) $(basename $@).nxe
    71 endef
    72 else
    7331define make-exe
    7432        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
     
    8139        $(SIZE) $(basename $@).nxe
    8240endef
    83 endif
    8441
    8542# Miscellaneous additions go here
  • make/custom/mvme162lx.cfg

    rac43f07 rc2b12f2  
    1414RTEMS_MVME162_MODEL=mvme162lx
    1515
    16 include $(RTEMS_ROOT)/make/custom/mvme162.cfg
     16include $(RTEMS_ROOT)/make/custom/default.cfg
    1717
     18RTEMS_CPU=m68k
     19RTEMS_CPU_MODEL=m68lc040
     20
     21# This is the actual bsp directory used during the build process.
     22RTEMS_BSP_FAMILY=mvme162
     23
     24#  This contains the compiler options necessary to select the CPU model
     25#  and (hopefully) optimize for it.
     26#
     27CPU_CFLAGS = -m68040 -msoft-float
     28
     29# optimize flag: typically -0, could use -O4 or -fast
     30# -O4 is ok for RTEMS
     31CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     32
     33# The following are definitions of make-exe which will work using ld as
     34# is currently required.  It is expected that as of gcc 2.8, the end user
     35# will be able to override parts of the compilers specs and link using gcc.
     36
     37define make-exe
     38        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
     39            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
     40        #$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
     41        #sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
     42        #    $(PACKHEX) > $(basename $@).exe
     43        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
     44        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
     45        $(SIZE) $(basename $@).nxe
     46endef
     47
     48# Miscellaneous additions go here
     49
     50# BSP-specific tools
     51SLOAD=$(PROJECT_TOOLS)/sload
  • make/custom/mvme167.cfg

    rac43f07 rc2b12f2  
    2727# These should only be used in BSP dependent directories.
    2828#
    29 #  CD2401_INT_LEVEL
    30 #         Interrupt level for the CD2401(when CD2401_IO_MODE == 1).
    31 #
    32 #  CD2401_IO_MODE
    33 #          0 for polled I/O, 1 for interrupt-driven.
    34 #
    3529#  CONSOLE_MINOR
    3630#          Port to use for the RTEMS console
     
    4741#       3 - /dev/tty3, Serial Port 4 on the MVME712M.
    4842
    49 BSP_CPPFLAGS += -DCD2401_INT_LEVEL=1 -DCD2401_IO_MODE=0 -DCD2401_USE_TERMIOS=0 -DCONSOLE_MINOR=1 -DPRINTK_MINOR=1
     43BSP_CPPFLAGS += -DCONSOLE_MINOR=1 -DPRINTK_MINOR=1
    5044 
    5145CFLAGS_DEBUG_V += -ggdb
Note: See TracChangeset for help on using the changeset viewer.