diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-04-02 17:59:25 +0200 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-04-03 17:56:53 +0000 |
| commit | c01273e001d033678bde91bc215cb05fd15e95cf (patch) | |
| tree | 6306c26016883d1ea16aa522d5aa663712e1c008 /recipes-extended/xen | |
| parent | 0aca30707160c7cd226c2a1d03016e2a85ae8738 (diff) | |
| download | meta-virtualization-c01273e001d033678bde91bc215cb05fd15e95cf.tar.gz | |
metadata: add whitespace around assignments
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer will cover src_uri.inc files
in next commit.
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen')
| -rw-r--r-- | recipes-extended/xen/xen-hypervisor.inc | 2 | ||||
| -rw-r--r-- | recipes-extended/xen/xen-tools.inc | 4 | ||||
| -rw-r--r-- | recipes-extended/xen/xen.inc | 20 |
3 files changed, 13 insertions, 13 deletions
diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc index 6f3d24d0..347f98f7 100644 --- a/recipes-extended/xen/xen-hypervisor.inc +++ b/recipes-extended/xen/xen-hypervisor.inc | |||
| @@ -114,4 +114,4 @@ KCONFIG_CONFIG_ROOTDIR = "${S}/xen" | |||
| 114 | 114 | ||
| 115 | # Xen is setting all CC flags on its own. Make sure that they are not modified | 115 | # Xen is setting all CC flags on its own. Make sure that they are not modified |
| 116 | # for aarch64, e.g. with architecture-specific optimizations. | 116 | # for aarch64, e.g. with architecture-specific optimizations. |
| 117 | TUNE_CCARGS:aarch64="" | 117 | TUNE_CCARGS:aarch64 = "" |
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index ec727965..a034bc4c 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
| @@ -721,14 +721,14 @@ FILES:${PN}-test += "\ | |||
| 721 | # test-cpu-policy and test-tsx only exist in 4.16 for x86 | 721 | # test-cpu-policy and test-tsx only exist in 4.16 for x86 |
| 722 | ALLOW_EMPTY:${PN}-test = "1" | 722 | ALLOW_EMPTY:${PN}-test = "1" |
| 723 | 723 | ||
| 724 | FILES:${PN}-xen-mceinj +="\ | 724 | FILES:${PN}-xen-mceinj += "\ |
| 725 | ${sbindir}/xen-mceinj \ | 725 | ${sbindir}/xen-mceinj \ |
| 726 | " | 726 | " |
| 727 | 727 | ||
| 728 | # xen-mceinj is only built for x86 4.16, so allow empty package | 728 | # xen-mceinj is only built for x86 4.16, so allow empty package |
| 729 | ALLOW_EMPTY:${PN}-xen-mceinj = "1" | 729 | ALLOW_EMPTY:${PN}-xen-mceinj = "1" |
| 730 | 730 | ||
| 731 | FILES:${PN}-xen-vmtrace +="\ | 731 | FILES:${PN}-xen-vmtrace += "\ |
| 732 | ${sbindir}/xen-vmtrace \ | 732 | ${sbindir}/xen-vmtrace \ |
| 733 | " | 733 | " |
| 734 | 734 | ||
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 63790f73..f8c1e266 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
| @@ -73,20 +73,20 @@ libexecdir = "${libdir}" | |||
| 73 | export XEN_OS = "Linux" | 73 | export XEN_OS = "Linux" |
| 74 | 74 | ||
| 75 | # this is used for the header (#!${bindir}/python) of the install python scripts | 75 | # this is used for the header (#!${bindir}/python) of the install python scripts |
| 76 | export PYTHONPATH="${bindir}/env python3" | 76 | export PYTHONPATH = "${bindir}/env python3" |
| 77 | export ac_cv_path_PYTHONPATH="${bindir}/env python3" | 77 | export ac_cv_path_PYTHONPATH = "${bindir}/env python3" |
| 78 | export DISTUTILS_BUILD_ARGS | 78 | export DISTUTILS_BUILD_ARGS |
| 79 | export DISTUTILS_INSTALL_ARGS | 79 | export DISTUTILS_INSTALL_ARGS |
| 80 | 80 | ||
| 81 | # xen and seabios require HOSTCC and HOSTCXX set to cross-compile | 81 | # xen and seabios require HOSTCC and HOSTCXX set to cross-compile |
| 82 | export HOSTCC="${BUILD_CC}" | 82 | export HOSTCC = "${BUILD_CC}" |
| 83 | export HOSTCXX="${BUILD_CXX}" | 83 | export HOSTCXX = "${BUILD_CXX}" |
| 84 | 84 | ||
| 85 | # make xen requires CROSS_COMPILE set by hand as it does not abide by ./configure | 85 | # make xen requires CROSS_COMPILE set by hand as it does not abide by ./configure |
| 86 | export CROSS_COMPILE="${TARGET_PREFIX}" | 86 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
| 87 | 87 | ||
| 88 | # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'" | 88 | # overide LDFLAGS to allow xen to build without: "x86_64-oe-linux-ld: unrecognized option '-Wl,-O1'" |
| 89 | export LDFLAGS="" | 89 | export LDFLAGS = "" |
| 90 | 90 | ||
| 91 | # No additional C flags for the main hypervisor build | 91 | # No additional C flags for the main hypervisor build |
| 92 | EXTRA_CFLAGS_XEN_CORE ?= "" | 92 | EXTRA_CFLAGS_XEN_CORE ?= "" |
| @@ -99,7 +99,7 @@ DEBUG_PREFIX_MAP:append = " \ | |||
| 99 | # - The Xen tools build for x86 systems with HVM-mode enabled includes hvmloader | 99 | # - The Xen tools build for x86 systems with HVM-mode enabled includes hvmloader |
| 100 | # which fails to build when "-m64" is included in flags set via the | 100 | # which fails to build when "-m64" is included in flags set via the |
| 101 | # EXTRA_CFLAGS_XEN_TOOLS: so clear TUNE_CCARGS on x86 to prevent that. | 101 | # EXTRA_CFLAGS_XEN_TOOLS: so clear TUNE_CCARGS on x86 to prevent that. |
| 102 | TUNE_CCARGS:x86-64="" | 102 | TUNE_CCARGS:x86-64 = "" |
| 103 | 103 | ||
| 104 | # - Yocto supplies the _FORTIFY_SOURCE flag via CC/CPP/CXX but then passes the | 104 | # - Yocto supplies the _FORTIFY_SOURCE flag via CC/CPP/CXX but then passes the |
| 105 | # optimization -O via C*FLAGS which is problematic when the CFLAGS are cleared | 105 | # optimization -O via C*FLAGS which is problematic when the CFLAGS are cleared |
| @@ -110,11 +110,11 @@ TUNE_CCARGS:x86-64="" | |||
| 110 | # It must not be compiled with SSE compiler options enabled and the Xen build | 110 | # It must not be compiled with SSE compiler options enabled and the Xen build |
| 111 | # explicitly clears CFLAGS to ensure that, so such options must not be passed | 111 | # explicitly clears CFLAGS to ensure that, so such options must not be passed |
| 112 | # in via the tool variable. hvmloader is required to run HVM-mode guest VMs. | 112 | # in via the tool variable. hvmloader is required to run HVM-mode guest VMs. |
| 113 | CC="${CCACHE}${HOST_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP} ${CC_REPRODUCIBLE_OPTIONS}" | 113 | CC = "${CCACHE}${HOST_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP} ${CC_REPRODUCIBLE_OPTIONS}" |
| 114 | EXTRA_CFLAGS_XEN_TOOLS="${HOST_CC_ARCH} ${CFLAGS}" | 114 | EXTRA_CFLAGS_XEN_TOOLS = "${HOST_CC_ARCH} ${CFLAGS}" |
| 115 | # 32-bit ARM needs the TUNE_CCARGS component of HOST_CC_ARCH to be passed | 115 | # 32-bit ARM needs the TUNE_CCARGS component of HOST_CC_ARCH to be passed |
| 116 | # in CC to ensure that configure can compile binaries for the right arch. | 116 | # in CC to ensure that configure can compile binaries for the right arch. |
| 117 | CC:arm="${CCACHE}${HOST_PREFIX}gcc ${TUNE_CCARGS} ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP} ${CC_REPRODUCIBLE_OPTIONS}" | 117 | CC:arm = "${CCACHE}${HOST_PREFIX}gcc ${TUNE_CCARGS} ${TOOLCHAIN_OPTIONS} ${DEBUG_PREFIX_MAP} ${CC_REPRODUCIBLE_OPTIONS}" |
| 118 | 118 | ||
| 119 | # There are no Xen-provided variables for C++, so append to the tool variables: | 119 | # There are no Xen-provided variables for C++, so append to the tool variables: |
| 120 | CPP:append = " ${CPPFLAGS}" | 120 | CPP:append = " ${CPPFLAGS}" |
