From nobody Tue Apr 23 20:38:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1561470080; cv=none; d=zoho.com; s=zohoarc; b=gDWCdBwmckMebX8lFwv86/qyYJ/HJS/whR+rSFG+R1b6/Wfe4HllP4T9OcdnqcQx0Eq+D8e3dggLnYfeTAG0u4QYeboQ7y5XgEPSstqDAIXfWxc+dfeRT+dAVQtS9X5o+OXv7wJ4CZ5V1TYwxyHTna0Fkjpd5tLT6FRXvSmyLcQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561470080; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=rZxH2YbDCcoOG+DWexZKQSYY/wGBtO122Iu0EquRpH8=; b=V06m2ZYothJZ9IP0kpchQaOmacSGu4l5IP52XuFd5lbwbtteidasoEJ4TXn1AGqikpHQSoIrP2xek5rgHXv8XYXIpWz+3Cr4JkY8PRTT3C5UimPddBT7CrG8S5/4iRFMVwTwmFoTwMHJOW8hQAzZQf+HbeiiG9wPuyKieWdIqxM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1561470080110452.93447532747416; Tue, 25 Jun 2019 06:41:20 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hflg0-0005QJ-RQ; Tue, 25 Jun 2019 13:40:00 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hflfz-0005QE-Gc for xen-devel@lists.xenproject.org; Tue, 25 Jun 2019 13:39:59 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id b77c9272-974e-11e9-8170-c701df7cb881; Tue, 25 Jun 2019 13:39:55 +0000 (UTC) X-Inumbo-ID: b77c9272-974e-11e9-8170-c701df7cb881 Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@citrix.com; spf=Pass smtp.mailfrom=roger.pau@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: ik/1wvINYMhCo3kjltlLzOG7yNzPHiC9rYS4rh6qabfgni7PN4okZQFh+SgM2JxRFhZq2EBWXW aDWPWk0VnLWmfUp6KphQ/M65fvkgAJIHN+Y43XjJUZSxVKpJ15YE5POco+8lRKKr5XcyMa/UeD l/EAEKazdr+mhdmvHeJZ4yhiBB5ATGvu8at63QR7c2SLFviPDngbaRtfFcSG7EhE1SlaFt53mC yGELndSQsVMrHqrnfZCCh1EGh1Iv5qjkZlb5LDAoRo2MTf/ZdQWXlWtqdHM6w0rCweYvWhrE6i nXE= X-SBRS: 2.7 X-MesageID: 2189977 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.63,416,1557201600"; d="scan'208";a="2189977" From: Roger Pau Monne To: Date: Tue, 25 Jun 2019 15:39:44 +0200 Message-ID: <20190625133944.36588-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] config: don't hardcode toolchain binaries X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , Roger Pau Monne Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Currently the names of the build toolchain binaries are hardcoded in StdGNU.mk, and the values from the environment are ignored. Switch StdGNU.mk to use '?=3D' instead of '=3D', so that values from the environment are used if present, else default to the values provided by the config file. This change fixes the gitlab CI loop, that was relying on passing custom values in the environment variables for the compiler and the linker. Signed-off-by: Roger Pau Monn=C3=A9 Acked-by: Andrew Cooper Acked-by: Ian Jackson --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu --- config/StdGNU.mk | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/config/StdGNU.mk b/config/StdGNU.mk index 039274ea61..c9624b043c 100644 --- a/config/StdGNU.mk +++ b/config/StdGNU.mk @@ -1,27 +1,27 @@ -AS =3D $(CROSS_COMPILE)as -LD =3D $(CROSS_COMPILE)ld +AS ?=3D $(CROSS_COMPILE)as +LD ?=3D $(CROSS_COMPILE)ld ifeq ($(clang),y) -CC =3D $(CROSS_COMPILE)clang -CXX =3D $(CROSS_COMPILE)clang++ -LD_LTO =3D $(CROSS_COMPILE)llvm-ld +CC ?=3D $(CROSS_COMPILE)clang +CXX ?=3D $(CROSS_COMPILE)clang++ +LD_LTO ?=3D $(CROSS_COMPILE)llvm-ld else -CC =3D $(CROSS_COMPILE)gcc -CXX =3D $(CROSS_COMPILE)g++ -LD_LTO =3D $(CROSS_COMPILE)ld +CC ?=3D $(CROSS_COMPILE)gcc +CXX ?=3D $(CROSS_COMPILE)g++ +LD_LTO ?=3D $(CROSS_COMPILE)ld endif -CPP =3D $(CC) -E -AR =3D $(CROSS_COMPILE)ar -RANLIB =3D $(CROSS_COMPILE)ranlib -NM =3D $(CROSS_COMPILE)nm -STRIP =3D $(CROSS_COMPILE)strip -OBJCOPY =3D $(CROSS_COMPILE)objcopy -OBJDUMP =3D $(CROSS_COMPILE)objdump -SIZEUTIL =3D $(CROSS_COMPILE)size +CPP ?=3D $(CC) -E +AR ?=3D $(CROSS_COMPILE)ar +RANLIB ?=3D $(CROSS_COMPILE)ranlib +NM ?=3D $(CROSS_COMPILE)nm +STRIP ?=3D $(CROSS_COMPILE)strip +OBJCOPY ?=3D $(CROSS_COMPILE)objcopy +OBJDUMP ?=3D $(CROSS_COMPILE)objdump +SIZEUTIL ?=3D $(CROSS_COMPILE)size =20 # Allow git to be wrappered in the environment GIT ?=3D git =20 -INSTALL =3D install +INSTALL ?=3D install INSTALL_DIR =3D $(INSTALL) -d -m0755 -p INSTALL_DATA =3D $(INSTALL) -m0644 -p INSTALL_PROG =3D $(INSTALL) -m0755 -p --=20 2.20.1 (Apple Git-117) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel