]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: add CC_IS_GCC and GCC_VERSION
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:22:01 +0000 (18:22 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Jun 2018 09:56:01 +0000 (18:56 +0900)
commit0884f7cf88210614dd883d1ef20590e1532a5269
tree4dd1672d9992cd8d4cfc85b6e7889f2dbad6a1e6
parentee2502342771ff0a9adcb1508241071cafd348ff
kconfig: add CC_IS_GCC and GCC_VERSION

This will be useful to specify the required compiler version,
like this:

config FOO
        bool "Use Foo"
        depends on GCC_VERSION >= 40800
        help
          This feature requires GCC 4.8 or newer.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
init/Kconfig