Changeset 3629


Ignore:
Timestamp:
May 17, 2008, 12:41:33 PM (17 years ago)
Author:
bird
Message:

Fixes for missing template names (new kBuild is strict). Use EXTENDS_BY.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/Config.kmk

    r2942 r3629  
    7474# Templates
    7575#
    76 ## @todo I need recursive inheritance!
    77 TEMPLATE_libc =
    78 TEMPLATE_libc_EXTENDS = lib
     76TEMPLATE_libc = libc template
    7977TEMPLATE_libc_TOOL = GCC3
    8078TEMPLATE_libc_INCS = $(PATH_LIBC_INC) $(dir $(LIBC-STD.H))
     
    8684TEMPLATE_libc_CFLAGS.release = $(TEMPLATE_lib_CFLAGS.release) -O3 -mcpu=pentium
    8785
    88 TEMPLATE_libc.logstrict =
     86TEMPLATE_libc.logstrict = .
    8987TEMPLATE_libc.logstrict_EXTENDS = libc
    90 TEMPLATE_libc.logstrict_DEFS = $(TEMPLATE_libc_DEFS) __LIBC_STRICT DEBUG_LOGGING
    91 
    92 TEMPLATE_libc.profiled =
     88TEMPLATE_libc.logstrict_EXTENDS_BY = appending
     89TEMPLATE_libc.logstrict_DEFS = __LIBC_STRICT DEBUG_LOGGING
     90
     91TEMPLATE_libc.profiled = .
    9392TEMPLATE_libc.profiled_EXTENDS = libc
    94 TEMPLATE_libc.profiled_DEFS = $(TEMPLATE_libc_DEFS) __LIBC_PROFILED
     93TEMPLATE_libc.profiled_EXTENDS_BY = appending
     94TEMPLATE_libc.profiled_DEFS = __LIBC_PROFILED
    9595
    9696TEMPLATE_libcsub = LIBC Sub-Library.
     
    109109# Intel assembly libs (default templates uses AT&T assembly).
    110110
    111 TEMPLATE_libcasm =
     111TEMPLATE_libcasm = .
    112112TEMPLATE_libcasm_TOOL = GCC3
    113113TEMPLATE_libcasm_TOOL.os2 = GCC3OMF
     
    117117TEMPLATE_libcasm_ASTOOL = ALP
    118118TEMPLATE_libcasm_ASFLAGS = -Sv:ALP
    119 else # NASM sucks too, but differently.
     119else # NASM sucks too, but in different ways...
    120120TEMPLATE_libcasm_ASTOOL = NASM
    121121TEMPLATE_libcasm_ASFLAGS = -f obj -w+orphan-labels
    122122endif
    123123
    124 TEMPLATE_libcasm.logstrict =
     124TEMPLATE_libcasm.logstrict = .
    125125TEMPLATE_libcasm.logstrict_EXTENDS = libcasm
    126 TEMPLATE_libcasm.logstrict_DEFS = $(TEMPLATE_libcasm_DEFS) __LIBC_STRICT DEBUG_LOGGING
    127 
    128 TEMPLATE_libcasm.profiled =
     126TEMPLATE_libcasm.logstrict_EXTENDS_BY = appending
     127TEMPLATE_libcasm.logstrict_DEFS = __LIBC_STRICT DEBUG_LOGGING
     128
     129TEMPLATE_libcasm.profiled =     .
    129130TEMPLATE_libcasm.profiled_EXTENDS = libcasm
    130 TEMPLATE_libcasm.profiled_DEFS = $(TEMPLATE_libcasm_DEFS) __LIBC_PROFILED
    131 
    132 TEMPLATE_libcsubasm =
     131TEMPLATE_libcasm.profiled_EXTENDS_BY = appending
     132TEMPLATE_libcasm.profiled_DEFS = __LIBC_PROFILED
     133
     134TEMPLATE_libcsubasm = .
    133135TEMPLATE_libcsubasm_EXTENDS = libcasm
    134136TEMPLATE_libcsubasm_NOINST = 1
    135137
    136 TEMPLATE_libcsubasm.logstrict =
     138TEMPLATE_libcsubasm.logstrict = .
    137139TEMPLATE_libcsubasm.logstrict_EXTENDS = libcasm.logstrict
    138140TEMPLATE_libcsubasm.logstrict_NOINST = 1
    139141
    140 TEMPLATE_libcsubasm =
     142TEMPLATE_libcsubasm.profiled = .
    141143TEMPLATE_libcsubasm.profiled_EXTENDS = libcasm.profiled
    142144TEMPLATE_libcsubasm.profiled_NOINST = 1
Note: See TracChangeset for help on using the changeset viewer.