Changes in kernel/Makefile [f0d7bd9:9d58539] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    rf0d7bd9 r9d58539  
    103103        -Werror-implicit-function-declaration -wd170
    104104
     105SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
     106        -xnolib -xc99=all -features=extensions \
     107        -erroff=E_ZERO_SIZED_STRUCT_UNION
     108
    105109CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    106110        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
     
    122126        GCC_CFLAGS += -g
    123127        ICC_CFLAGS += -g
     128        SUNCC_CFLAGS += -g
    124129        CLANG_CFLAGS += -g
    125130endif
     
    175180        CFLAGS = $(ICC_CFLAGS)
    176181        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     182        INSTRUMENTATION =
     183endif
     184
     185ifeq ($(COMPILER),suncc)
     186        CFLAGS = $(SUNCC_CFLAGS)
     187        DEFS += $(CONFIG_DEFS)
     188        DEPEND_DEFS = $(DEFS)
    177189        INSTRUMENTATION =
    178190endif
     
    196208        generic/src/console/chardev.c \
    197209        generic/src/console/console.c \
    198         generic/src/console/prompt.c \
    199210        generic/src/cpu/cpu.c \
    200211        generic/src/ddi/ddi.c \
Note: See TracChangeset for help on using the changeset viewer.