Changeset 4406fd65 in mainline


Ignore:
Timestamp:
2008-12-16T18:56:00Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27e2916
Parents:
6ce40059
Message:

compile kconsole optionally

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r6ce40059 r4406fd65  
    9191endif
    9292
    93 ifeq ($(CONFIG_EDEBUG),y)
    94         DEFS += -DCONFIG_EDEBUG
     93ifeq ($(CONFIG_LOG),y)
     94        DEFS += -DCONFIG_LOG
     95endif
     96
     97ifeq ($(CONFIG_KCONSOLE),y)
     98        DEFS += -DCONFIG_KCONSOLE
    9599endif
    96100
     
    237241        generic/src/console/chardev.c \
    238242        generic/src/console/console.c \
    239         generic/src/console/kconsole.c \
    240         generic/src/console/cmd.c \
    241243        generic/src/cpu/cpu.c \
    242244        generic/src/ddi/ddi.c \
     
    300302        generic/src/sysinfo/sysinfo.c
    301303
     304## Kernel console support
     305#
     306
     307ifeq ($(CONFIG_KCONSOLE),y)
     308GENERIC_SOURCES += \
     309        generic/src/console/kconsole.c \
     310        generic/src/console/cmd.c
     311endif
     312
    302313## Udebug interface sources
    303314#
Note: See TracChangeset for help on using the changeset viewer.