Skip to contentSkip to conversation

stubdom: support Mini-OS config for Mini-OS apps

PATCH In review Juergen Gross 2 participants 2 messages Aug 30, 2016 – Sep 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 stubdom: support Mini-OS config for Mini-OS apps

Mini-OS apps need to be compiled with the appropriate config settings of Mini-OS, as there are various dependencies on those settings in header files included by the apps.

Enhance stubdom Makefile to set the appropriate CPPFLAGS when calling the apps' make.

---
V2: add .gitignore entry as requested by Wei Liu

Please add this patch only after the corresponding Mini-OS patch "mini-os: support "make config" for out-of-tree users" has been added.

---
 .gitignore                  |  1 +
 stubdom/Makefile            | 48 +++++++++++++++++++++++++++++++++------------
 stubdom/xenstore-minios.cfg |  1 +
 3 files changed, 37 insertions(+), 13 deletions(-)
.gitignore +1 -0
index d193820..a061f4a 100644
@@ -50,6 +50,7 @@ docs/pdf/
 docs/txt/
 extras/mini-os*
 install/*
+stubdom/*-minios-config.mk
 stubdom/autom4te.cache/
 stubdom/binutils-*
 stubdom/config.cache
stubdom/Makefile +35 -13

105 lines not on this page · raw message

stubdom/xenstore-minios.cfg +1 -0
index 6a09cce..931caea 100644
@@ -5,3 +5,4 @@ CONFIG_KBDFRONT=n
 CONFIG_CONSFRONT=n
 CONFIG_XENBUS=n
 CONFIG_LWIP=n
+XEN_INTERFACE_VERSION=__XEN_LATEST_INTERFACE_VERSION__
Signature · 7 lines
2.6.6


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw
Quoted 7 lines · Juergen Gross

Mini-OS apps need to be compiled with the appropriate config settings of Mini-OS, as there are various dependencies on those settings in header files included by the apps.

Enhance stubdom Makefile to set the appropriate CPPFLAGS when calling the apps' make.

Quoted 6 lines

---
V2: add .gitignore entry as requested by Wei Liu

Please add this patch only after the corresponding Mini-OS patch "mini-os: support "make config" for out-of-tree users" has been added.

Acked + pushed

With following diff folded in

Config.mk +0 -0
index 081ff69..1a3b86d 100644
@@ -277,9 +277,9 @@ MINIOS_UPSTREAM_URL ?=

git://xenbits.xen.org/mini-os.git
endif
OVMF_UPSTREAM_REVISION ?= 52a99493cce88a9d4ec8a02d7f1bd1a1001ce60d QEMU_UPSTREAM_REVISION ?= master
-MINIOS_UPSTREAM_REVISION ?= f27fa61a0c206bf372753f2020bbe5dc6028864c -# Fri, 12 Aug 2016 11:32:57 +0100 (11:32 +0100)
-# x86/arch_mm.h: move p2m_chk_pfn to x86/mm.c +MINIOS_UPSTREAM_REVISION ?= 0f6582dd71454dffba4bbb21258fea25becfdd00 +# Tue Aug 30 13:51:23 2016 +0200
+# mini-os: support "make config" for out-of-tree users

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel