Changeset dbcb60a in rtems


Ignore:
Timestamp:
Feb 5, 2005, 2:49:02 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0eff7b8
Parents:
3d289f12
Message:

2005-02-05 Ralf Corsepius <ralf.corsepius@…>

  • custom/uC5282.cfg: Cleanup.
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r3d289f12 rdbcb60a  
     12005-02-05      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * custom/uC5282.cfg: Cleanup.
     4
    152005-01-28      Eric Norum <norume@aps.anl.gov>
    26
  • make/custom/uC5282.cfg

    r3d289f12 rdbcb60a  
    22#  Config file for the uC5282 BSP
    33#
    4 #Based on:
    5 #  $Id$
    6 #
    7 # A0.01 Initial Version                   BDS   07/26/01
    8 #
    94
    10 
    11 RTEMS_CPU=m68k
    12 RTEMS_CPU_MODEL=mcf5282
     5RTEMS_CPU = m68k
     6RTEMS_CPU_MODEL = mcf5282
    137
    148include $(RTEMS_ROOT)/make/custom/default.cfg
    159
    1610# This is the actual bsp directory used during the build process.
    17 RTEMS_BSP_FAMILY=uC5282
     11RTEMS_BSP_FAMILY = uC5282
    1812
    1913#  This contains the compiler options necessary to select the CPU model
    2014#  and (hopefully) optimize for it.
    2115CPU_CFLAGS = -m528x
    22 CPU_ASFLAGS = -m528x
    2316
    24 ASFLAGS = -m528x
    25 
    26 # optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
     17# GCC-4.0 (ATM, doesn't work with optimization levels > 0):
     18# CFLAGS_OPTIMIZE_V= -O0 -fomit-frame-pointer
    2719CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
    28 
    29 # This target does NOT support the KA9Q TCP/IP stack so ignore requests
    30 # to enable it.
    31 #HAS_KA9Q=yes
    32 
    33 # Override default start file
    34 #START_BASE=start5206
    35 
    36 #  This section makes the target dependent options file.
    37 #  NDEBUG (C library)
    38 #     if defined asserts do not generate code.  This is commonly used
    39 #     as a command line option.
    40 #
    41 #  RTEMS_TEST_NO_PAUSE (RTEMS tests)
    42 #     do not pause between screens of output in the rtems tests
    43 #
    44 #  STACK_CHECKER_ON (RTEMS support code)
    45 #     If defined, stack bounds checking is enabled.
    46 #
    47 #  STACK_CHECKER_REPORT_USAGE (RTEMS support code)
    48 #     If this and STACK_CHECKER_ON are defined, then a report on stack usage
    49 #     per task is printed when the program exits.
    50 #
    51 #  RTEMS_DEBUG (RTEMS)
    52 #     If defined, debug checks in RTEMS and support library code are enabled.
    53 
    54 define make-target-options
    55         @echo "/* #define NDEBUG 1 */ "                     >>$@
    56         @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
    57         @echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
    58         @echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
    59         @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
    60 endef
    61 
    62 
    63 ifndef MTARGET
    64 MTARGET=ram
    65 endif
    66 
    6720
    6821# The following are definitions of make-exe which will work using ld as
     
    7023# will be able to override parts of the compilers specs and link using gcc.
    7124
    72 
    7325define make-exe
    74         $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \
    75             $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
     26        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
     27            $(LINK_OBJS) $(LINK_LIBS)
    7628        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
    7729        $(SIZE) $(basename $@).nxe
    7830endef
    7931define make-cxx-exe
    80         $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \
    81             $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
     32        $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
     33            $(LINK_OBJS) $(LINK_LIBS)
    8234        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
    8335        $(SIZE) $(basename $@).nxe
Note: See TracChangeset for help on using the changeset viewer.