Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
kconfig.h File Reference
#include <generated/autoconf.h>

Go to the source code of this file.

Macros

#define __ARG_PLACEHOLDER_1   0,
 
#define config_enabled(cfg)   _config_enabled(cfg)
 
#define _config_enabled(value)   __config_enabled(__ARG_PLACEHOLDER_##value)
 
#define __config_enabled(arg1_or_junk)   ___config_enabled(arg1_or_junk 1, 0)
 
#define ___config_enabled(__ignored, val,...)   val
 
#define IS_ENABLED(option)   (config_enabled(option) || config_enabled(option##_MODULE))
 
#define IS_BUILTIN(option)   config_enabled(option)
 
#define IS_MODULE(option)   config_enabled(option##_MODULE)
 

Macro Definition Documentation

#define ___config_enabled (   __ignored,
  val,
  ... 
)    val

Definition at line 23 of file kconfig.h.

#define __ARG_PLACEHOLDER_1   0,

Definition at line 19 of file kconfig.h.

#define __config_enabled (   arg1_or_junk)    ___config_enabled(arg1_or_junk 1, 0)

Definition at line 22 of file kconfig.h.

#define _config_enabled (   value)    __config_enabled(__ARG_PLACEHOLDER_##value)

Definition at line 21 of file kconfig.h.

#define config_enabled (   cfg)    _config_enabled(cfg)

Definition at line 20 of file kconfig.h.

#define IS_BUILTIN (   option)    config_enabled(option)

Definition at line 38 of file kconfig.h.

#define IS_ENABLED (   option)    (config_enabled(option) || config_enabled(option##_MODULE))

Definition at line 30 of file kconfig.h.

#define IS_MODULE (   option)    config_enabled(option##_MODULE)

Definition at line 44 of file kconfig.h.