]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 Feb 2019 07:56:09 +0000 (16:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 28 Feb 2019 13:50:55 +0000 (22:50 +0900)
commit228e3b8aab1079f3e3f54d870e01642c5ef7200d
tree4f4bd3701746d62ba9795c3e6e3ba40bb3a306f7
parent3d77491945bb24dcde536fad15491960a91d762b
kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig

CONFIG_DEBUG_INFO_SPLIT and CONFIG_DEBUG_INFO_DWARF4 enable extra
dwarf options if supported. You never know if they are really enabled
since Makefile may silently turn them off.

The actual behavior will match to the kernel configuration by
testing those compiler flags in the Kconfig stage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
lib/Kconfig.debug