linux-mod.eclass: support DEBUG_INFO_{SPLIT,DWARF4} bug #653286
authorPatrick McLean <patrick.mclean@sony.com>
Fri, 15 Mar 2019 00:29:01 +0000 (17:29 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 15 Mar 2019 00:33:55 +0000 (17:33 -0700)
commitf0250f181166b46e1c438da988611911519695a1
treede2250d8be7c849285451ad6a2f0a34554644397
parent4ed92c969842db8a4699644abe61c717dba5de3c
linux-mod.eclass: support DEBUG_INFO_{SPLIT,DWARF4} bug #653286

When CONFIG_DEBUG_INFO_SPLIT and/or CONFIG_DEBUG_INFO_DWARF4 are set,
the kernel build system tries to create a null.dwo file in the root of
the kernel source directory. This adds an addpredict to prevent this
from failing due to a sandbox failure.

Acked-by: Thomas Deutschmann <whissi@gentoo.org>
Closes: https://bugs.gentoo.org/653286
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
eclass/linux-mod.eclass