commit:     37851981078ad4f6194cfa07041a2bcfc26d6110
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 09:30:32 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 09:32:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37851981

app-emulation/xen: enable CONFIG_CRASH_DEBUG on USE=debug

Bug: https://bugs.gentoo.org/838730
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-emulation/xen/{xen-4.16.0-r5.ebuild => xen-4.16.0-r6.ebuild} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-emulation/xen/xen-4.16.0-r5.ebuild 
b/app-emulation/xen/xen-4.16.0-r6.ebuild
similarity index 95%
rename from app-emulation/xen/xen-4.16.0-r5.ebuild
rename to app-emulation/xen/xen-4.16.0-r6.ebuild
index 994e9c774ce3..f57641df28d0 100644
--- a/app-emulation/xen/xen-4.16.0-r5.ebuild
+++ b/app-emulation/xen/xen-4.16.0-r6.ebuild
@@ -119,13 +119,16 @@ src_configure() {
 
        touch gentoo-config || die
        if use arm; then
-          echo "CONFIG_EARLY_PRINTK=sun7i" > gentoo-config || die
+          echo "CONFIG_EARLY_PRINTK=sun7i" >> gentoo-config || die
        fi
        if use debug; then
-               echo "CONFIG_DEBUG=y" > gentoo-config || die
+               cat <<-EOF >> gentoo-config || die
+               CONFIG_DEBUG=y
+               CONFIG_CRASH_DEBUG=y
+EOF
        fi
        if use flask; then
-               echo "CONFIG_XSM=y" > gentoo-config || die
+               echo "CONFIG_XSM=y" >> gentoo-config || die
        fi
 
        emake KCONFIG_ALLCONFIG=gentoo-config alldefconfig

Reply via email to