From nobody Thu Apr 25 08:28:41 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1516721703970880.6130640017388; Tue, 23 Jan 2018 07:35:03 -0800 (PST) Received: from [127.0.0.1] (helo=ra.coreboot.org) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ee0dU-0005td-GQ; Tue, 23 Jan 2018 16:37:20 +0100 Received: from smtp.citrix.com ([66.165.176.89]) by mail.coreboot.org with esmtps (TLSv1.2:RC4-SHA:128) (Exim 4.86_2) (envelope-from ) id 1ee0dI-0005qB-13 for seabios@seabios.org; Tue, 23 Jan 2018 16:37:19 +0100 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="459302523" From: Roger Pau Monne To: Date: Tue, 23 Jan 2018 15:34:16 +0000 Message-ID: <20180123153416.75513-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 X-Spam-Score: -4.0 (----) Subject: [SeaBIOS] [PATCH] build: allow setting tools path from the environment X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ed Maste Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail: RSF_4 Z_629925259 SPT_0 Allow setting the path to as, ld, objcopy, objdump, strip and python from the environment. This is required for building SeaBIOS on FreeBSD, which will switch the default ld to lld very soon, and lld is not capable of building SeaBIOS at the moment. Building SeaBIOS on FreeBSD after the switch to lld will require setting LD=3D/path/to/gnu/ld at build time. Signed-off-by: Roger Pau Monn=C3=A9 --- Cc: Kevin O'Connor Cc: Ed Maste --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index eb8ad58..0fcb1bf 100644 --- a/Makefile +++ b/Makefile @@ -17,12 +17,12 @@ CROSS_PREFIX=3D ifneq ($(CROSS_PREFIX),) CC=3D$(CROSS_PREFIX)gcc endif -AS=3D$(CROSS_PREFIX)as -LD=3D$(CROSS_PREFIX)ld -OBJCOPY=3D$(CROSS_PREFIX)objcopy -OBJDUMP=3D$(CROSS_PREFIX)objdump -STRIP=3D$(CROSS_PREFIX)strip -PYTHON=3Dpython +AS?=3D$(CROSS_PREFIX)as +LD?=3D$(CROSS_PREFIX)ld +OBJCOPY?=3D$(CROSS_PREFIX)objcopy +OBJDUMP?=3D$(CROSS_PREFIX)objdump +STRIP?=3D$(CROSS_PREFIX)strip +PYTHON?=3Dpython CPP=3Dcpp IASL:=3Diasl LD32BIT_FLAG:=3D-melf_i386 --=20 2.15.1 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios