Changeset 393d271 in rtems for make/main.cfg


Ignore:
Timestamp:
Nov 12, 2002, 10:32:00 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.