From 7652b72590674d347b051e1530cf06541539cd31 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 17 Apr 2022 15:44:23 +0200 Subject: app-emulation/xen: improve naming and type of phase shared variable Signed-off-by: Florian Schmaus --- app-emulation/xen/xen-4.16.0-r5.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app-emulation/xen') 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() { -- cgit v1.2.3-65-gdbad