[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v7 00/51] xen: Build system improvements, now with out-of-tree build!



Alex Bennée <alex.bennee@xxxxxxxxxx> writes:

> Anthony PERARD <anthony.perard@xxxxxxxxxx> writes:
>
>> Patch series available in this git branch:
>> https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git 
>> br.build-system-xen-v7
>>
>> v7:
>>     Out-of-tree build!
>>
>>     This mean many more patches. Everything after patch 27 is new.
>>
>>     There's a few new patch before that, but otherwise are rework of
>>     v6.
>
> This is something I've been looking forward to but obviously my QEMU
> focused mind meant I did it wrong. Generally I create a builds subdir in
> my tree with subdirs for each build flavour. So with:
>
<snip>
>
> In "build: adding out-of-tree support to the xen build" you describe the
> Linux kernel style which works well where the config can be done after
> the fact but I wonder if the configure approach is better suited to
> something that needs a bunch of checks running. Is the configure script
> pure autoconf? This should work out of the box IIRC.

FWIW doing it the make O way:

  ➜  pwd
  /home/alex/lsrc/xen/xen.git
  🕙16:12:54 alex@zen:xen.git  on  review/build-system-v7 (AM) [$?] 
  ➜  make O=builds/native/
  make -C xen install
  make[1]: Entering directory '/home/alex/lsrc/xen/xen.git/xen'
  make[2]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=tools tools/fixdep
  make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
    GEN     Makefile
  make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=tools
  make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=. include/xen/compile.h
  make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
    BANNER  .banner
  error: could not load font /home/alex/lsrc/xen/xen.git/xen/tools/xen.flf
  make[3]: *** [/home/alex/lsrc/xen/xen.git/xen/./build.mk:12: .banner] Error 
255
  make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make[2]: *** [/home/alex/lsrc/xen/xen.git/xen/Makefile:539: xen] Error 2
  make[2]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native'
  make[1]: *** [Makefile:176: __sub-make] Error 2
  make[1]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen'
  make: *** [Makefile:136: install-xen] Error 2

which is odd because I have a "apt build-dep xen" and figlet installed
on this system.

-- 
Alex Bennée



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.