Changeset 393d271 in rtems


Ignore:
Timestamp:
11/12/02 10:32:00 (21 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
df413e9
Parents:
fae851c
Message:

2002-11-12 Ralf Corsepius <corsepiu@…>

  • custom/default.cfg: Remove RTEMS_BSP_SPECS. Remove reference to obsolete Makefile.
  • leaf.cfg: Various changes to LIBVARIANT processing.
  • main.cfg: Ditto.
Location:
make
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rfae851c r393d271  
     12002-11-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * custom/default.cfg: Remove RTEMS_BSP_SPECS. Remove reference to
     4        obsolete Makefile.
     5        * leaf.cfg: Various changes to LIBVARIANT processing.
     6        * main.cfg: Ditto.
     7
    182002-11-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • make/custom/default.cfg

    rfae851c r393d271  
    1616
    1717# use the inline functions instead of the macros
    18 # ref: src/exec/generic/Makefile
    1918ifeq ($(RTEMS_USE_MACROS),yes)
    2019INLINE=macros
     
    2827CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    2928
    30 ## GCC specs extension file location
    31 RTEMS_BSP_SPECS = $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/bsp_specs
    32 
    3329# Base name of start file
    3430START_BASE=start
  • make/leaf.cfg

    rfae851c r393d271  
    3535MANAGERS := $(sort $(MANAGERS))
    3636
     37#
     38# LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
     39#   convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
     40#   Useful for installing libraries.
     41#
     42
     43LIBSUFFIX_OPTIMIZE_V=
     44LIBSUFFIX_DEBUG_V=_g
     45LIBSUFFIX_PROFILE_V=_p
     46
     47LIB_VARIANT=$(LIBSUFFIX_$(VARIANT_V)_V)
     48LIBSUFFIX_VA = $(LIB_VARIANT).a
     49
    3750# Pull in the desired "target" compiler
    3851# Programs built on the host use automake generated rules.
     
    6881#
    6982
    70 VARIANT-o-optimize-v =
    71 VARIANT-o-debug-v = debug
    72 VARIANT-o-profile-v = profile
     83VARIANT-OPTIMIZE-v =
     84VARIANT-DEBUG-v = debug
     85VARIANT-PROFILE-v = profile
    7386
    74 VARIANT_VA = $(VARIANT-$(ARCH)-v)
     87VARIANT_VA = $(VARIANT-$(VARIANT_V)-v)
    7588
    7689#
     
    8497
    8598TARGET_VA = $(TARGET_$@_V)
    86 
    87 #
    88 # LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
    89 #   convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
    90 #   Useful for installing libraries.
    91 #
    92 
    93 LIBSUFFIX_o-optimize_V=
    94 LIBSUFFIX_o-debug_V=_g
    95 LIBSUFFIX_o-profile_V=_p
    96 
    97 LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V)
    98 LIBSUFFIX_VA = $(LIB_VARIANT).a
    9999
    100100#
  • make/main.cfg

    rfae851c r393d271  
    66#   Make(1) configuration file include'd by all Makefile's
    77#
     8
     9#
     10# Initial target for make(1)
     11#  Once this is established we can safely include other targets
     12#  within this make-include file.
     13#
     14
     15default_target: all
    816
    917#
     
    1725PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
    1826
    19 #
    20 # Target architecture; may be changed as per 'make "ARCH=debug"'
    21 # This is where the object files get put.
    22 #
     27## translate VARIANT into VARIANT_V
     28VARIANT = OPTIMIZE
    2329
    24 ifeq ($(VARIANT),)
    25 ARCH=o-optimize
    26 VARIANT=
    27 else
    28 ifeq ($(VARIANT),DEBUG)
    29 ARCH=o-debug
    30 VARIANT=DEBUG
    31 endif
    32 endif
     30VARIANT_OPTIMIZE_V = OPTIMIZE
     31VARIANT_DEBUG_V = DEBUG
     32VARIANT_PROFILE_V = PROFILE
     33VARIANT_optimize_V = OPTIMIZE
     34VARIANT_debug_V = DEBUG
     35VARIANT_profile_V = PROFILE
    3336
    34 #
    35 # Initial target for make(1)
    36 #  Once this is established we can safely include other targets
    37 #  within this make-include file.
    38 #
     37VARIANT_V = $(VARIANT_$(VARIANT)_V)
    3938
    40 default_target: all
     39## Setup the variant build subdirectory
     40ARCH_OPTIMIZE_V = o-optimize
     41ARCH_DEBUG_V = o-debug
     42ARCH_PROFILE_V = o-profile
    4143
     44ARCH__V = $(ARCH_OPTIMIZE_V)
     45ARCH = $(ARCH_$(VARIANT_V)_V)
     46
     47$(ARCH):
     48        test -d ${ARCH} || mkdir $(ARCH)
    4249#
    4350# Default makefile name
     
    6572$(TARGET_VARIANTS)
    6673
    67 ${ARCH}:
    68         test -d ${ARCH} || mkdir ${ARCH}
    69 
    7074ifndef AUTOMAKE
    7175distclean-generic:
Note: See TracChangeset for help on using the changeset viewer.