[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [XEN PATCH v3 07/23] xen/build: Use obj-y += subdir/ instead of subdir-y
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Thu, 27 Feb 2020 10:22:50 +0100
- Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
- Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Thu, 27 Feb 2020 09:23:01 +0000
- Ironport-sdr: UozWGzO7Nswo2eUGXE9TEkDBjvR0ZsxJLD44zLCHaDaCTmtr/GJPW5gjfRA1p/EfEe/6A7tzN3 vWRTm9N5jafaciL3CfpwnqyO7buhSDZEOBx1Eby0xG90cyRg3JwC3CJymFDm50eN0PadoB1hub Gvc6cXdIvuoNFYxCUjb7N3+56FhJ61CGZhn12hvM0K5qodLz9SwGqOoiU54gG/AsOBkP2OxXhN Fqa9Tg7aGgqFLpZepBSBjOPXOFCRfguv7w4Xk8yV3/wsyNErC43KaTBLi5UEh9d1ixn5PhA/T1 B60=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Wed, Feb 26, 2020 at 11:33:39AM +0000, Anthony PERARD wrote:
> This is part of upgrading our build system and import more of Linux's
> one.
>
> In Linux, subdir-y in Makefiles is only used to descend into
> subdirectory when there are no object to build, Xen doesn't have that
> and all subdir have object to be included in the final binary.
>
> To allow the new syntax, the "obj-y" and "subdir-*" calculation in
> Rules.mk is changed and partially imported from Linux's Kbuild.
>
> The command used to modify the Makefile was:
> sed -i -r 's#^subdir-(.*)#obj-\1/#;' **/Makefile
>
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
LGTM:
Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|