[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v3 15/25] libs/libs.mk: Rename $(LIB) to $(TARGETS)
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Tue, 5 Jul 2022 13:21:07 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=2; 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=yl7ydSF5w2O77ENb8wz3ALgNAI2MdbbutsWtrg5Svic=; b=CS/MGJoMjWXBrGKX24cYDdPYKCTqoQbeqbA/4YFhx4hFLBZoAZFqDMx1P6oaxO0Bva6IUmYSvOacJ2PotiMGULGo4j+6AlrVULXfV3vOiXp/+TOg4Zy7b8Tssd6B2XIat+9Rbvj1xjyEeWjmekC2AuJ/Sdah9c43Ud7gH/o6l954sALaB3InxoxqVOfnnv4X4E7QJGjJfjHDvsMftIYnnQ9Z3EnPBcH4cEfI0QxAIWAM965djVsgzkKzbhx36hD7rdcx59Er4fnrWY8jxr+oJ/bxFSR+E97xIC7VAvTgomNYfcOymMUcz56uNAfsELyp+vaplEM8k/u25qNHAkVz4w==
- 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=yl7ydSF5w2O77ENb8wz3ALgNAI2MdbbutsWtrg5Svic=; b=S0sEMYsOmb/LcFkzoVIKOiSg/TM6bGUXMPwb2wEofknIF8KAWDswHwATQpTNmNziuZjI5AwiWZyw8Ab38KYN1CeplVF1xB1ySrgap1KhTvY3KNGJ19sKmLFhu9o3oK59qIgHuWj6fc/Xh68EM/vObMEoqMtQOoFiSpKnCLp6HfxyH2iLSPL9yts9aNiuyyJAJ9+R5LTUTGZn2jVpDy/zNwcMjD9y3oFTSni7Erwb9a9PWhr2E1YfcYq0L2Jq4LIna+0EOKmMxkYkQ1/YJ+V7RVTNIcjN9hqohHRJN4wQT4MbJpDKNABIlwWeK+4buqQ3q75ovIDKapHmcmeOGenF2w==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=PkiuNnQlVih/4SZjkEH1fJfhmNN8jg+lMHd6VHiNwaDv4vGFMEJ6WCc+Evn4lTIhL/ffb0U3CalRC0v/dLx4KyRR7Qe5ySVuxn1vhhDihZOzlH9WB/6DOSPiuVKdyK1I3tK8u785XmgmFbI7qndtCj0Qeatp4xBZpBqvsyLTW6yzPm47FL2K7zRNnH1WXNKlp5KFJYH9eYgGJ2k7/rkUo5OKWxW1DKyFcn6xYPcGNIXImiwNOHAg4aW+07gLOjMyXuvfqpl4glmOEGtkCS8VPaaEcc+bEWBiywGiw5EW539ibYD57EIJj7XYlJrFC8IGwur36OrVPaj+pK/mOn8VIw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kOWlDo4S0v9MYH2DpwrchK5Ye/b6YZGuM2Wp2zyzmYxUfnaNOpcB/NLcwvSTFkGg9AjZOTtrmftAJ6BLR3BoKlVFEsaOzuZiXvdMf9iQ/WiJclQathaNQsBjXX+MpYEAmAivv71za/OkNIzXbXljVJp3d9BxUpsj0gQ5GbLS3Wyc/IYSAOhRi/gZCtEJ49PuTFMVnakjSHY41cgHhiXhezcBzhNITdgvVRBKexRyj2gvLa7LQEizz8/GBqjxcUFo1sW/Z6L7fUnwKTntBuuQl6UbB5FDJ7nMM2XvkNGRuDi6BDfThAa5PDNx/oEr2VTmugRa5oT/U1EXS+VGFVoVDw==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
- Delivery-date: Tue, 05 Jul 2022 13:21:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHYh+Q5fiim5oiltUCifj9IfmTKrq1v1GKA
- Thread-topic: [XEN PATCH v3 15/25] libs/libs.mk: Rename $(LIB) to $(TARGETS)
HI Anthony,
> On 24 Jun 2022, at 17:04, Anthony PERARD <anthony.perard@xxxxxxxxxx> wrote:
>
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
Cheers
Bertrand
> ---
> tools/libs/libs.mk | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/libs/libs.mk b/tools/libs/libs.mk
> index 58d8166b09..e02f91f95e 100644
> --- a/tools/libs/libs.mk
> +++ b/tools/libs/libs.mk
> @@ -23,9 +23,9 @@ LDLIBS += $(foreach lib, $(USELIBS_$(LIBNAME)),
> $(LDLIBS_libxen$(lib)))
> PIC_OBJS := $(OBJS-y:.o=.opic)
>
> LIB_FILE_NAME = $(FILENAME_$(LIBNAME))
> -LIB := lib$(LIB_FILE_NAME).a
> +TARGETS := lib$(LIB_FILE_NAME).a
> ifneq ($(nosharedlibs),y)
> -LIB += lib$(LIB_FILE_NAME).so
> +TARGETS += lib$(LIB_FILE_NAME).so
> endif
>
> PKG_CONFIG ?= $(LIB_FILE_NAME).pc
> @@ -55,7 +55,7 @@ $(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_INCLUDE)
> $(PKG_CONFIG_LOCAL): PKG_CONFIG_LIBDIR = $(CURDIR)
>
> .PHONY: all
> -all: headers.chk $(LIB) $(PKG_CONFIG_INST) $(PKG_CONFIG_LOCAL)
> libxen$(LIBNAME).map $(LIBHEADERS)
> +all: headers.chk $(TARGETS) $(PKG_CONFIG_INST) $(PKG_CONFIG_LOCAL)
> libxen$(LIBNAME).map $(LIBHEADERS)
>
> ifneq ($(NO_HEADERS_CHK),y)
> headers.chk:
> @@ -124,7 +124,7 @@ TAGS:
>
> .PHONY: clean
> clean::
> - rm -rf $(LIB) *~ $(DEPS_RM) $(OBJS-y) $(PIC_OBJS)
> + rm -rf $(TARGETS) *~ $(DEPS_RM) $(OBJS-y) $(PIC_OBJS)
> rm -f lib$(LIB_FILE_NAME).so.$(MAJOR).$(MINOR)
> lib$(LIB_FILE_NAME).so.$(MAJOR)
> rm -f headers.chk headers.lst
> rm -f $(PKG_CONFIG)
> --
> Anthony PERARD
>
>
|