Skip to contentSkip to conversation

autoconf: --enable-githttp doesn't work

DISCUSSION Ian Campbell 2 participants 3 messages Apr 13, 2012

lore
Share & tools
lore
#0 lore raw

This is because the toplevel Config.mk does not include config/Tools.mk and therefore GIT_HTTP is not defined.

I'm not sure what the best fix here is, we don't really want to include config/Tools.mk in the top-level Config.mk since that would mean you had to run configure to build the hypervisor, which we want to avoid.

Perhaps a bunch of the tools-level config stuff from Config.mk should go into config/Tools.mk.in? It looks like most of the content of Config.mk from the definition of QEMU_REMOTE onwards could/should be moved but I've not actually tried it.

Or perhaps some stuff should become actual configure options, CONFIG_{OVMF,ROMBIOS,SEABIOS} and ETHERBOOT_NICS seem like good candidates for that. Perhaps --qemu-upstream-url=URL etc make sense too? I'm less sure there.

Ian.

#1 lore raw
Quoted 2 lines · Ian Campbell

This is because the toplevel Config.mk does not include config/Tools.mk and therefore GIT_HTTP is not defined.

Yes, sorry, this is a leftover from when I though that the output from configure would be used by the top level Config.mk file.

Quoted 9 lines

I'm not sure what the best fix here is, we don't really want to include config/Tools.mk in the top-level Config.mk since that would mean you had to run configure to build the hypervisor, which we want to avoid.

Perhaps a bunch of the tools-level config stuff from Config.mk should go into config/Tools.mk.in? It looks like most of the content of Config.mk from the definition of QEMU_REMOTE onwards could/should be moved but I've not actually tried it.

Probably, I don't think any of this are used by the hypervisor.

Quoted 4 lines

Or perhaps some stuff should become actual configure options, CONFIG_{OVMF,ROMBIOS,SEABIOS} and ETHERBOOT_NICS seem like good candidates for that. Perhaps --qemu-upstream-url=URL etc make sense too?

I'm quite confident this:

CONFIG_OVMF ?= n
CONFIG_ROMBIOS ?= y
CONFIG_SEABIOS ?= y

should become configure options, if (as I think) they have no relation with the hypervisor. I'm not really confident that letting the user set it's own qemu/seabios… repository so easily is a good idea.

Quoted 4 lines

I'm less sure there.

Ian.

#2 lore raw
Quoted 8 lines · Roger Pau Monne

I'm quite confident this:

CONFIG_OVMF ?= n
CONFIG_ROMBIOS ?= y
CONFIG_SEABIOS ?= y

should become configure options, if (as I think) they have no relation with the hypervisor.

I'm pretty sure they have no relation with the hypervisor.

Quoted 2 lines

I'm not really confident that letting the user set it's own qemu/seabios… repository so easily is a good idea.

Lets just move those to Tools.mk.in then, if there's demand for an option later we can always do it then.

Ian.

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