commit: 7652b72590674d347b051e1530cf06541539cd31
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 13:44:23 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 14:03:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7652b725
app-emulation/xen: improve naming and type of phase shared variable
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
app-emulation/xen/xen-4.16.0-r5.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/app-emulation/xen/xen-4.16.0-r5.ebuild
b/app-emulation/xen/xen-4.16.0-r5.ebuild
index 6342aaf23287..eb0fa574bc2e 100644
--- a/app-emulation/xen/xen-4.16.0-r5.ebuild
+++ b/app-emulation/xen/xen-4.16.0-r5.ebuild
@@ -117,9 +117,11 @@ src_prepare() {
default
}
+XEN_OPTS=()
+
src_configure() {
- use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
- use debug && myopt="${myopt} debug=y"
+ use arm && XEN_OPTS+=( CONFIG_EARLY_PRINTK=sun7i )
+ use debug && XEN_OPTS+=( debug=y )
# remove flags
unset CFLAGS
@@ -131,7 +133,7 @@ src_configure() {
src_compile() {
# Send raw LDFLAGS so that --as-needed works
- emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C
xen ${myopt}
+ emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C
xen ${XEN_OPTS[@]}
}
src_install() {