summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/xen/xen.inc')
-rw-r--r--recipes-extended/xen/xen.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index cadbd78e..42c93b4c 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -91,6 +91,7 @@ RRECOMMENDS_${PN}-base = " \
91 ${PN}-libvhd \ 91 ${PN}-libvhd \
92 ${PN}-flask \ 92 ${PN}-flask \
93 ${PN}-hvmloader \ 93 ${PN}-hvmloader \
94 ${PN}-shim \
94 ${PN}-xenpaging \ 95 ${PN}-xenpaging \
95 " 96 "
96 97
@@ -213,6 +214,7 @@ PACKAGES = "\
213 ${PN}-scripts-block \ 214 ${PN}-scripts-block \
214 ${PN}-scripts-common \ 215 ${PN}-scripts-common \
215 ${PN}-scripts-network \ 216 ${PN}-scripts-network \
217 ${PN}-shim \
216 ${PN}-staticdev \ 218 ${PN}-staticdev \
217 ${PN}-volatiles \ 219 ${PN}-volatiles \
218 ${PN}-xcutils \ 220 ${PN}-xcutils \
@@ -638,6 +640,11 @@ FILES_${PN}-scripts-common = " \
638 ${sysconfdir}/xen/scripts/xen-script-common.sh \ 640 ${sysconfdir}/xen/scripts/xen-script-common.sh \
639 " 641 "
640 642
643INSANE_SKIP_${PN}-shim = "arch"
644FILES_${PN}-shim = " \
645 ${libdir}/xen/boot/xen-shim \
646 "
647
641FILES_${PN}-volatiles = "\ 648FILES_${PN}-volatiles = "\
642 ${sysconfdir}/default/volatiles/99_xen \ 649 ${sysconfdir}/default/volatiles/99_xen \
643 ${sysconfdir}/tmpfiles.d/xen.conf \ 650 ${sysconfdir}/tmpfiles.d/xen.conf \
@@ -930,10 +937,17 @@ do_compile() {
930 # workaround for build bug when CFLAGS is exported 937 # workaround for build bug when CFLAGS is exported
931 # https://www.mail-archive.com/xen-devel@lists.xen.org/msg67822.html 938 # https://www.mail-archive.com/xen-devel@lists.xen.org/msg67822.html
932 unset CFLAGS 939 unset CFLAGS
940
941 # Workaround for parallel build bug: build xen first.
942 # https://lists.xenproject.org/archives/html/xen-devel/2018-07/msg02551.html
943 oe_runmake xen
933 oe_runmake 944 oe_runmake
934} 945}
935 946
936do_install() { 947do_install() {
948 # CFLAGS is used to set PY_CFLAGS which affects the pygrub install
949 # so also need to unset CFLAGS here:
950 unset CFLAGS
937 oe_runmake DESTDIR="${D}" install 951 oe_runmake DESTDIR="${D}" install
938 952
939 # remove installed volatiles 953 # remove installed volatiles