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

Re: [XEN PATCH v9 06/30] build: rework test/livepatch/Makefile


  • To: Anthony Perard <anthony.perard@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
  • Date: Tue, 8 Mar 2022 14:15:43 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=f9iAbsB1s/A4KnLEnio5YFYI+jMcy7yQMqj8sr4/nNM=; b=m8w8JNXfQBgReBjSAKE6KRpjwYho3ReUV/9wIi3NreazSYx5W4q85zAuViA7uzj8gy6F4JOtw9r/htfZTObLfH7he1lcJOZgd0NoB20QinQwfkRdZ/MbS5TRYndiTvQSD+ixrkcmC6mXsPiX7Vh4yl9Hf06PRw19mmUemjzstd68Q9wsy5P9zItfcmq9a3WAPagZSwMjBLO8DtFU8lUZDbcxopUSAZZ2SHnvilnowCqvwzNwH3CrG5N1QA8HlM3grNZSFSxrC8l6q1mEs/QVk6DGUjxALy/90TzhremFkQ3YtoO428wsfoxogJEGhWPh9sjWdLkrQwHVg4B5lMnCmA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TWhQRxtVV0/8q2MDZNU+624k49PhWKvEA+2caYLy/3ReA+iz+g1q7YHL1E6Rle22yCzhD+oQeo1ckRScaA1IcGIrZ6033VE/eWv9d79EqqJuYeI8ot3wUkMtdiHCEIoi6a4gLZg1kszYwIvusb3UfwWMcKxNrKQJC60A6aHcwdp45+v9IoL4LLULZNOINewLxp6KX4TM7Jq9/NjTOjq1qBSpin2FQjKglgSeTZZNqHgrhSZ4an5yRuhtQgSWDBoJTe4r7VAMVl/r1Ug72y5ToRGUlqTdvve88hUmDZWIdqIoUYQ5tZy5tdHkf5CQFbeFCc1PtUB3pNHkLNDcIGZJ3A==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Tue, 08 Mar 2022 14:15:56 +0000
  • Ironport-data: A9a23:nZcmoK9uNKVLaJU7y3OfDrUDXX6TJUtcMsCJ2f8bNWPcYEJGY0x3z mJOCG/XOPfeM2OnLtkkOtm+oBgAu8OBy4drT1RlrSo8E34SpcT7XtnIdU2Y0wF+jyHgoOCLy +1EN7Es+ehtFie0Si+Fa+Sn9T8mvU2xbuKU5NTsY0idfic5DnZ54f5fs7Rh2NQw2oDpW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnZyuECUGJ5Dco9hHXQAHDH8gMKNgpZaSdBBTseTLp6HHW37lwvEoB0AqJ4wIvO1wBAmi9 9RBdmpLNErawbvrnvTrEYGAhex6RCXvFJkYoWomyTjWAOw5SJTHa67L+cVZzHE7gcUm8fP2O ZdGMGcxNESojxtnOnszJIsbkeqRgmDuYzdduGnOqvAryj2GpOB2+Oe0a4eEEjCQfu1OhVqRr G/C+2X/AzkZOcaZxD7D9Wij7sfQmQvrVYRUE6e3ntZph1uJz2BVFxwSVnO8u/CyjkP4UNVaQ 2QE9yxroaUs+UiDStjmQwb+sHOCpgQbWddbD6s98g7l4qje7hudB2MEZiVcc9Fgv8gzLRQoy 1uIktXBFTFp9rqPRhqgGqy89G3of3JPdClbOHFCHVBtD8TfTJ8bjgyWbPl6Lb6Osof7AG7vn W6Hog5jruBG5SIU7JmT8VfCijOqg5HGSA8p+wnaNl6YAhNFiJ2NPNLxtwWChRpUBMPAFwTa4 iBY8ySLxL1WVfmweDqxrPLh9V1Dz9KMK3XijFFmBPHNHBz9qif4Lei8DNyTTXqF0/romxe0O Cc/WisLvfe/2UdGi4ctO+pd7OxwkcDd+SzNDKy8Uza3SsEZmPW71C9vf1WM+GvmjVIhl6oyU b/CL5ryUylKVP8+nGftLwv47VPN7nplrY80bcqnpylLLJLEPCLFIVv7GAHmgh8FAFOs/1yOr oc32zqiwBRDSuzuChQ7AqZIRW3m2UMTXMisw+QOL7brClM/RAkJVq+AqZt8KtcNt/kEyY/1E oSVBxYwJKzX3iacd21nqxlLNdvSYHqIhS5jbXx2YwfygCRLjETGxP53SqbbtIIPrYRL5fV1U +MEa4OHBPFOQS7A4DMTcd/2q4kKSfhhrVvm0/aNCNTnQ6Ndeg==
  • Ironport-hdrordr: A9a23:n25HNKjaHSOSGrK8c/xawMqqE3BQXuYji2hC6mlwRA09TyX+rb HLoB17726QtN9/YgBCpTntAsi9qBDnm6Kdg7NhWotKNTOO0AHEEGgL1/qF/9SKIVydygcy78 ddmoFFeaTN5QcQt63HCXODfOrIauP3iJxA/t2z80tQ
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Suggested_attachment_session_id: 95a5186f-1154-a36f-bbea-4d05aab51bb6
  • Thread-index: AQHYEdsrj9o/gZSMNUai9NV68j69Pqy1yb8h
  • Thread-topic: [XEN PATCH v9 06/30] build: rework test/livepatch/Makefile

> From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Sent: Tuesday, January 25, 2022 11:00 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx <xen-devel@xxxxxxxxxxxxxxxxxxxx>
> Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>; Jan Beulich 
> <jbeulich@xxxxxxxx>; Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; George Dunlap 
> <George.Dunlap@xxxxxxxxxx>; Julien Grall <julien@xxxxxxx>; Stefano Stabellini 
> <sstabellini@xxxxxxxxxx>; Wei Liu <wl@xxxxxxx>; Konrad Rzeszutek Wilk 
> <konrad.wilk@xxxxxxxxxx>; Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
> Subject: [XEN PATCH v9 06/30] build: rework test/livepatch/Makefile 
>  
> This rework the livepatch/Makefile to make it less repetitive and make
> use of the facilities. All the targets to be built are now listed in
> $(extra-y) which will allow Rules.mk to build them without the need of
> a local target in a future patch.
> 
> There are some changes/fixes in this patch:
> - when "xen-syms" is used for a target, it is added to the dependency
>   list of the target, which allow to rebuild the target when xen-syms
>   changes. But if "xen-syms" is missing, make simply fails.
> - modinfo.o wasn't removing it's $@.bin file like the other targets,
>   this is now done.
> - The command to build *.livepatch targets as been fixed to use
>   $(XEN_LDFLAGS) rather than just $(LDFLAGS) which is a fallout from
>   2740d96efdd3 ("xen/build: have the root Makefile generates the
>   CFLAGS")
> 
> make will findout the dependencies of the *.livepatch files and thus
> what to built by "looking" at the objects listed in the *-objs
> variables. The actual dependencies is generated by the new
> "multi-depend" macro.
> 
> "$(targets)" needs to be updated with the objects listed in the
> different *-objs variables to allow make to load the .*.cmd dependency
> files.
> 
> This patch copies the macro "multi_depend" from Linux 5.12, and rename
> it to "multi-depend".
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> 

Acked-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>


 


Rackspace

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