diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-30 20:58:39 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-07 13:25:59 -0400 |
commit | 1a927fd347ebb3c02046150ee489d4fe4e6b9e81 (patch) | |
tree | 16e73bb18f6602fc0777c3c26f4ca9d3e4a20bf3 /init | |
parent | 33177f01ca3fe550146bb9001bec2fd806b2f40c (diff) |
init/Kconfig: add CONFIG_CC_CAN_LINK
Currently, scripts/cc-can-link.sh is run just for BPFILTER_UMH, but
defining CC_CAN_LINK will be useful in other places.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index df5bba27e3fe..2e9813daa2c1 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -24,6 +24,9 @@ config CLANG_VERSION | |||
24 | int | 24 | int |
25 | default $(shell,$(srctree)/scripts/clang-version.sh $(CC)) | 25 | default $(shell,$(srctree)/scripts/clang-version.sh $(CC)) |
26 | 26 | ||
27 | config CC_CAN_LINK | ||
28 | def_bool $(success,$(srctree)/scripts/cc-can-link.sh $(CC)) | ||
29 | |||
27 | config CC_HAS_ASM_GOTO | 30 | config CC_HAS_ASM_GOTO |
28 | def_bool $(success,$(srctree)/scripts/gcc-goto.sh $(CC)) | 31 | def_bool $(success,$(srctree)/scripts/gcc-goto.sh $(CC)) |
29 | 32 | ||