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

Re: [PATCH] x86/boot: use BASEDIR for include path


  • To: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Thu, 11 Jun 2020 18:28:09 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Wei Liu <wl@xxxxxxx>, Paul Durrant <paul@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, nd <nd@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 11 Jun 2020 17:28:25 +0000
  • Ironport-sdr: /ad5LL+eBFp6H+kNJxSE/Y4SNNLPRCeR2jm+rwjQP467+S5e/XFL3mY5Oo+fY9LHkBVK+W15an uuHjAmsLkEvvifUH8UZKTVZFxRpkUlB6PecUyWIPWj0MKjsO1j2fdMRKyJuuy1IFnvo24xbpwT kVSNiu9XQRiE+qOj8gge8gKktpq/WKxFZpdw6P0PQQVCCgjCxUFFQ22whHDYUDd9pr00hkkl0Q a3JYvWewOLKffoCnoZWuDudFmY2Xz2fCtj5r/laZ0SuXbdWIV16r8d4luXlkxJcKcdu3iCQgcX shs=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 11/06/2020 17:50, Bertrand Marquis wrote:
> Hi Andrew,
>
>> On 11 Jun 2020, at 17:24, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>>
>> On 11/06/2020 12:54, Bertrand Marquis wrote:
>>> Use $(BASEDIR)/include instead of $(XEN_ROOT)/xen/include for the
>>> include path to be coherent with the rest of the Makefiles.
>>>
>>> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
>> Does something subtle break before this change?
> Without changing anything no.
> But if xen sub-directory is renamed yes.
>
> As there is no easy way to build xen hypervisor out of tree (I might be wrong 
> here !) I found a solution using cp -rs from xen subdir in a xen-build1 
> xen-build2 etc this way I can check build for x86 and arm without cleaning.
>
> Without the patch, the sources are actually compiles with an include path 
> containing xen/../xen as a result of using XEN_ROOT which does not allow to 
> rename xen subdirectory.
> As it was the only place in which XEN_ROOT was used for include paths, this 
> is normalising the paths.

Ok.  Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

CC Paul for 4.14.

~Andrew



 


Rackspace

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