Changeset c34eb10 in rtems


Ignore:
Timestamp:
Apr 3, 2000, 8:01:31 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
a7c46db9
Parents:
cc2ccd6e
Message:

Patch rtems-rc-4.5.0-7-cvs.diff from Ralf Corsepius <corsepiu@…>.
The patch contains:

  • Many small cleanups wrt. make VARIANT=[DEBUG|PROFILE] support
  • several modifications to make/custom/*.cfg
  • Merger with the mvme2307.cfg you had posted two weeks ago (Please check it, I did not check it against to version you posted today).
  • Added a check to the toplevel configure.in to refuse building inside of the source tree.
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • aclocal/target.m4

    rcc2ccd6e rc34eb10  
    5555
    5656    case "$srcdir" in
    57     .) ;;
     57##    .) ;;
    5858    *)
    5959      if test -d $target_subdir/$ac_config_dir || mkdir $target_subdir/$ac_config_dir; then :;
     
    7373
    7474    case "$srcdir" in
    75     .) # No --srcdir option.  We are building in place.
    76       ac_sub_srcdir=$srcdir ;;
     75##    .) # No --srcdir option.  We are building in place.
     76##      ac_sub_srcdir=$srcdir ;;
    7777    /*) # Absolute path.
    7878      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
  • automake/local.am

    rcc2ccd6e rc34eb10  
    4242        mkdir ${ARCH}
    4343
    44 clean:
    45         $(RM) -r o-optimize o-debug o-profile
     44clean-local:
     45        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
     46        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
     47
     48distclean-local:
     49        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
     50
     51PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
  • c/src/exec/score/cpu/powerpc/new_exception_processing/Makefile.am

    rcc2ccd6e rc34eb10  
    5151
    5252all-local: $(ARCH) $(PREINSTALL_FILES) $(REL)
    53 ## all: $(ARCH)/rtems.o
     53## all-local: $(ARCH)/rtems.o
    5454all-local: $(TMPINSTALL_FILES)
    5555
    56 clean-local:
    57         $(RM) -r ../o-optimize ../o-debug ../o-profile
     56CLEANDIRS = ../o-optimize ../o-debug ../o-profile
    5857
    5958EXTRA_DIST = $(C_FILES) $(S_FILES)
  • c/src/exec/score/cpu/powerpc/old_exception_processing/Makefile.am

    rcc2ccd6e rc34eb10  
    4949all-local: $(ARCH) $(PREINSTALL_FILES) $(REL) $(ARCH)/rtems.o $(TMPINSTALL_FILES)
    5050
    51 clean-local:
    52         $(RM) -r ../o-optimize ../o-debug ../o-profile
     51CLEANDIRS = ../o-optimize ../o-debug ../o-profile
    5352
    5453UNUSED_FILES = irq_stub.S
  • c/src/make/Makefile.am

    rcc2ccd6e rc34eb10  
    1414rtems_make_DATA = $(MAKE_FILES) $(GENERIC_FILES)
    1515
    16 noinst_DATA = main.cfg
     16noinst_DATA = main.cfg leaf.cfg
    1717
    1818rtemsdir = $(prefix)
  • c/src/make/configure.in

    rcc2ccd6e rc34eb10  
    114114AC_LINK_FILES($cfg_dir/compilers/gcc-target-default.cfg,compilers/gcc-target-default.cfg)
    115115AC_LINK_FILES($cfg_dir/directory.cfg,directory.cfg)
    116 AC_LINK_FILES($cfg_dir/leaf.cfg,leaf.cfg)
     116AC_LINK_FILES(leaf.cfg,leaf.cfg)
    117117AC_LINK_FILES($cfg_dir/lib.cfg,lib.cfg)
    118118AC_LINK_FILES($cfg_dir/README,README)
  • c/src/make/main.cfg.in

    rcc2ccd6e rc34eb10  
    77# NOTE: This file does not get exported from the source tree
    88#
    9 
    10 #
    11 # where things are relative to PROJECT_ROOT; shouldn't need to change,
    12 # but could be overridden in custom files.
    13 #
    14 
    15 PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
     9# Now, it's empty :)
  • configure.in

    rcc2ccd6e rc34eb10  
    1 
    21dnl Process this file with autoconf to produce a configure script.
    32dnl
     
    76AC_INIT(c)
    87RTEMS_TOP(.)
     8
     9# Abort if trying to build inside of the source tree.
     10if test -f VERSION; then
     11  rm -f config.cache config.log confdefs.h
     12  AC_MSG_ERROR([***]
     13    [Attempt to build inside of the source tree]
     14    [Please use a separate build directory, instead] )
     15fi
    916
    1017RTEMS_CANONICAL_TARGET_CPU
  • make/custom/mvme2307.cfg

    rcc2ccd6e rc34eb10  
    6767#  and (hopefully) optimize for it.
    6868#
    69 CPU_CFLAGS = -mcpu=604
     69CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align
    7070
    7171# optimize flag: typically -0, could use -O4 or -fast
     
    7373# NOTE: some level of -O may be actually required by inline assembler
    7474#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    75 CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align -mcpu=604
     75CFLAGS_OPTIMIZE_V = -O4
     76
     77# debug flags: typically none, but at least -O1 is required due to this
     78# BSP using inlined code
     79CFLAGS_DEBUG_V = -O1
     80
     81# profile flags: typically none, but at least -O1 is required due to this
     82# BSP using inlined code
     83CFLAGS_PROFILE_V = -O1   
    7684
    7785# The following is a linkcmds file which will work without using the
     
    8896#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    8997define make-exe
    90         $(LINK.c) $(LDLIBS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
     98        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
    9199        $(NM) -g -n $@ > $(basename $@).num
    92100        $(SIZE) $@
    93 #
    94 #   The following builds bootable images for the board.  But the way
    95 #   the build procedure jumps around the tree is not cool.
     101#    The following commands make a bootable image but will not work outside
     102#    the build tree.
    96103#       test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
    97104#       $(CP) $@ $(PROJECT_ROOT)/powerpc-rtems/c/mvme2307/lib/libbsp/powerpc/$(RTEMS_BSP_FAMILY)/bootloader/$(ARCH); \
  • make/custom/ods68302.cfg

    rcc2ccd6e rc34eb10  
    7272else
    7373define make-exe
    74         $(LINK.c) $(LDLIBS) \
     74        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
    7575            -Wl,-defsym -Wl,MC68302_BASE=$(MC68302_BASE) \
    7676            -o $@ \
  • make/custom/rxgen960.cfg

    rcc2ccd6e rc34eb10  
    6363else
    6464define make-exe
    65         $(LINK.c) \
    66             $(LDLIBS) -o $@ \
     65        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
    6766            $(LINK_OBJS) $(LINK_LIBS)
    6867        $(NM) -g -n $@ > $(basename $@).num
Note: See TracChangeset for help on using the changeset viewer.