Changeset b96ca51 in rtems


Ignore:
Timestamp:
08/11/00 19:24:30 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ed09fd77
Parents:
380b5227
Message:

2000-08-04 Charles-Antoine Gauthier <charles.gauthier@…>

  • mvme167.cfg: Add specification of printk port, console port and serial I/O mode. Arrange for the stripped executable to be copied up the build tree.
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r380b5227 rb96ca51  
     1
     22000-08-04      Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>
     3        * mvme167.cfg: Add specification of printk port, console port
     4        * custom/mvme167.cfg: Add specification of printk port, console port
     5        and serial I/O mode.  Arrange for the stripped executable to
     6        be copied up the build tree.
    17       
    282000-08-10      Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>
  • make/custom/mvme167.cfg

    r380b5227 rb96ca51  
    2626# BSP specific preprocessor flags.
    2727# These should only be used in BSP dependent directories.
    28 BSP_CPPFLAGS += -DCD2401_INT_LEVEL=1 -DCD2401_POLLED_IO=1
     28#
     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#
     35#  CONSOLE_MINOR
     36#          Port to use for the RTEMS console
     37#       0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
     38#       1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
     39#       2 - /dev/tty2, Serial Port 3 on the MVME712M.
     40#       3 - /dev/tty3, Serial Port 4 on the MVME712M.
     41#
     42#  PRINTK_MINOR
     43#          Port to use for printk debugging output.
     44#       0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
     45#       1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
     46#       2 - /dev/tty2, Serial Port 3 on the MVME712M.
     47#       3 - /dev/tty3, Serial Port 4 on the MVME712M.
     48
     49BSP_CPPFLAGS += -DCD2401_INT_LEVEL=1 -DCD2401_IO_MODE=0 -DCD2401_USE_TERMIOS=0 -DCONSOLE_MINOR=1 -DPRINTK_MINOR=1
    2950 
    3051CFLAGS_DEBUG_V += -ggdb
     
    3253# optimize flag: typically -O, could use -O4 or -fast
    3354# -O4 is ok for RTEMS
    34 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
    35 
    36 #  This section makes the target dependent options file.
    37 
    38 #  CD2401_INT_LEVEL
    39 #         Interrupt level for the CD2401.
    40 #
    41 #  CD2401_POLLED_IO
    42 #         0 for interrupt-driven, 1 for polled I/O.
    43 
    44 define make-target-options
    45 #       @echo "#define CD2401_INT_LEVEL 1"                  >>$@
    46 #       @echo "#define CD2401_POLLED_IO 1"                  >>$@
    47        
    48        
    49 endef
     55CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer
    5056
    5157# Here is the rule to actually build a $(ARCH)/foo.exe
     
    7884
    7985define make-exe
    80         $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
     86        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@)_sym.exe \
    8187            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
    82         $(NM) -g -n $(basename $@).exe > $(basename $@).nm
    83         $(STRIP) -o $(basename $@) $@
    84         $(SIZE) $(basename $@).exe
     88        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
     89        $(STRIP) -o $(basename $@).exe $(basename $@)_sym.exe
     90        $(SIZE) $(basename $@)_sym.exe
    8591endef
    8692else
    8793define make-exe
    88         $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
     94        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@)_sym.exe \
    8995            $(LINK_OBJS) $(LINK_LIBS)
    90         $(NM) -g -n $(basename $@).exe > $(basename $@).nm
    91         $(STRIP) -o $(basename $@) $@
    92         $(SIZE) $(basename $@).exe
     96        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
     97        $(STRIP) -o $(basename $@).exe $(basename $@)_sym.exe
     98        $(SIZE) $(basename $@)_sym.exe
    9399endef
    94100endif
Note: See TracChangeset for help on using the changeset viewer.