Skip to contentSkip to conversation

stubdom: add fine grained library config items to Mini-OS configs

PATCH In review Juergen Gross 3 participants 3 messages Oct 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 stubdom: add fine grained library config items to Mini-OS configs

Today Mini-OS can only be configured to use all or none Xen library. In order to prepare a more fine grained configuration scheme, add per library config items to the Mini-OS config files.

As some libraries pull in others, the config files need to be extended at build time to reflect those indirect library uses.

---
V2:
- rename BUILD_config to GEN_CONFIG (Anthony PERARD)
- rename generated config files to *.gen.cfg (Anthony PERARD)
- don't write config data to file in make macro (Anthony PERARD)
- remove no longer needed $(CURDIR)/ from prerequisites (Anthony PERARD)

---
 stubdom/.gitignore |  1 +
 stubdom/Makefile   | 49 ++++++++++++++++++++++++++++++++++------------
 2 files changed, 38 insertions(+), 12 deletions(-)
stubdom/.gitignore +1 -0
index 10e2547a22..23350446b9 100644
@@ -1,3 +1,4 @@
+*.gen.cfg
 /*.tar.gz
 /*-minios-config.mk
 /autom4te.cache/
stubdom/Makefile +37 -12

106 lines not on this page · raw message

Signature · 1 line
2.43.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · Juergen Gross

Today Mini-OS can only be configured to use all or none Xen library. In order to prepare a more fine grained configuration scheme, add per library config items to the Mini-OS config files.

As some libraries pull in others, the config files need to be extended at build time to reflect those indirect library uses.

Quoted 7 lines

---
V2:
- rename BUILD_config to GEN_CONFIG (Anthony PERARD)
- rename generated config files to *.gen.cfg (Anthony PERARD)
- don't write config data to file in make macro (Anthony PERARD)
- remove no longer needed $(CURDIR)/ from prerequisites (Anthony PERARD)

Looks good to me.

Thanks,

Signature · 5 lines
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech
#2 lore raw
Quoted 15 lines · Anthony PERARD
Quoted 7 lines · Juergen Gross

Today Mini-OS can only be configured to use all or none Xen library. In order to prepare a more fine grained configuration scheme, add per library config items to the Mini-OS config files.

As some libraries pull in others, the config files need to be extended at build time to reflect those indirect library uses.

Quoted 7 lines

---
V2:
- rename BUILD_config to GEN_CONFIG (Anthony PERARD)
- rename generated config files to *.gen.cfg (Anthony PERARD)
- don't write config data to file in make macro (Anthony PERARD)
- remove no longer needed $(CURDIR)/ from prerequisites (Anthony PERARD)

Quoted 3 lines

Looks good to me.

Same grammar comment as v1.  I'll tweak on commit.

~Andrew