tools/Makefile: fix qemu-xen-traditional build
PATCH 1/1 tools/Makefile: fix qemu-xen-traditional build
In d9740237a ("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.
--- tools/Makefile | 1 + 1 file changed, 1 insertion(+)
tools/Makefile +1 -0
@@ -158,6 +158,7 @@ qemu-xen-traditional-dir-force-update: qemu-xen-traditional-dir-find subdir-all-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find set -e; \ $(buildmakevars2shellvars); \ + export CONFIG_BLKTAP1=n; \ cd qemu-xen-traditional-dir; \ $(QEMU_ROOT)/xen-setup \ $(IOEMU_EXTRA_LDFLAGS) \
Signature · 1 line
1.9.1
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.
Another one. I suspect there is more like that in qemu-xen-traditional. Should I spent/waste my time to convert qemu-xen-traditional to handle options via configure instead of relying on variables from the Xen buildsystem? The same happend when my --prefix series was applied.
Olaf
Quoted 11 lines · Olaf Hering
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.Another one. I suspect there is more like that in qemu-xen-traditional. Should I spent/waste my time to convert qemu-xen-traditional to handle options via configure instead of relying on variables from the Xen buildsystem? The same happend when my --prefix series was applied.
qemu-xen-traditional's configure is quite ancient I don't think that's worth it.
Quoted 1 line
Olaf
Quoted 7 lines · Wei Liu
Quoted 6 lines · Olaf Hering
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.
Quoted 8 lines
Quoted 5 lines
Another one. I suspect there is more like that in qemu-xen-traditional. Should I spent/waste my time to convert qemu-xen-traditional to handle options via configure instead of relying on variables from the Xen buildsystem? The same happend when my --prefix series was applied.
qemu-xen-traditional's configure is quite ancient I don't think that's worth it.
It's also not autoconf (neither is mainline qemu's AFAIK), it's just a hand written shell script...
Ian.
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.
Well spotted, which make invocation hits this path? make dist (what I test) didn't.
Quoted 3 lines
Signed-off-by Wei Liu <[email protected]>Cc Ian Campbell <[email protected]>Cc Ian Jackson <[email protected]>
Should we be worried that the -all- and -install- targets are similar but not identical? Specifically one of them lack --extra-cflags?
Perhaps we should refactor those so the options are only given ones?
Quoted 16 lines
--- tools/Makefile | 1 + 1 file changed, 1 insertion(+)tools/Makefile +1
-0@@ -158,6 +158,7 @@ qemu-xen-traditional-dir-force-update: qemu-xen-traditional-dir-find subdir-all-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find set -e; \ $(buildmakevars2shellvars); \ + export CONFIG_BLKTAP1=n; \ cd qemu-xen-traditional-dir; \ $(QEMU_ROOT)/xen-setup \ $(IOEMU_EXTRA_LDFLAGS) \
Quoted 8 lines · Ian Campbell
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.Well spotted, which make invocation hits this path? make dist (what I test) didn't.
make -C tools build.
Quoted 10 lines
Quoted 4 lines
Signed-off-by Wei Liu <[email protected]>Cc Ian Campbell <[email protected]>Cc Ian Jackson <[email protected]>Acked-by Ian Campbell <[email protected]>Should we be worried that the -all- and -install- targets are similar but not identical? Specifically one of them lack --extra-cflags?
Perhaps nobody ever provides EXTRA_CFLAGS_QEMU_TRADITIONAL so nobody ever trips over that.
Quoted 2 lines
Perhaps we should refactor those so the options are only given ones?
This is a good idea. I can do another patch later.
Wei.
Quoted 17 lines
Quoted 16 lines
--- tools/Makefile | 1 + 1 file changed, 1 insertion(+)tools/Makefile +1
-0@@ -158,6 +158,7 @@ qemu-xen-traditional-dir-force-update: qemu-xen-traditional-dir-find subdir-all-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find set -e; \ $(buildmakevars2shellvars); \ + export CONFIG_BLKTAP1=n; \ cd qemu-xen-traditional-dir; \ $(QEMU_ROOT)/xen-setup \ $(IOEMU_EXTRA_LDFLAGS) \
Quoted 6 lines · Wei Liu
Quoted 5 lines · Ian Campbell
Quoted 3 lines · Wei Liu
In
d9740237a("tools: unhook blktap1 from the build and remove all references to it"), one spot was left unchanged, which leads to failure in building qemu-xen-traditional.
Quoted 12 lines
Quoted 3 lines
Well spotted, which make invocation hits this path? make dist (what I test) didn't.
make -C tools build.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Wei Liu <[email protected]>Cc Ian Campbell <[email protected]>Cc Ian Jackson <[email protected]>Acked-by Ian Campbell <[email protected]>
And applied.
Quoted 7 lines
Quoted 4 lines
Should we be worried that the -all- and -install- targets are similar but not identical? Specifically one of them lack --extra-cflags?
Perhaps nobody ever provides
EXTRA_CFLAGS_QEMU_TRADITIONALso nobody ever trips over that.
Probably true, or at least those people who do use make dist etc.
Quoted 4 lines
Quoted 2 lines
Perhaps we should refactor those so the options are only given ones?
This is a good idea. I can do another patch later.
Thanks..