From nobody Fri Apr 26 14:15:03 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=yadro.com Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1548431727503383.02036555934876; Fri, 25 Jan 2019 07:55:27 -0800 (PST) Received: from [172.30.0.99] (mailu_mailman-core_1.mailu_default [172.30.0.99]) by coreboot.org (Postfix) with ESMTP id E268A1120F56; Fri, 25 Jan 2019 15:55:23 +0000 (UTC) Received: from mta-01.yadro.com (mta-01.yadro.com [89.207.88.251]) by coreboot.org (Postfix) with ESMTP id CB1341120F53 for ; Fri, 25 Jan 2019 15:55:20 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 1B0C441957 for ; Fri, 25 Jan 2019 15:55:20 +0000 (UTC) Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTpC3BGb4DTQ for ; Fri, 25 Jan 2019 18:55:18 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 3E2A241955 for ; Fri, 25 Jan 2019 18:55:18 +0300 (MSK) Received: from localhost (172.17.1.50) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Fri, 25 Jan 2019 18:55:17 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mta-01; t=1548431718; x= 1550246119; bh=Bz+0bjJ2m0RtKe0OpHrPmrOu2yQ3jwBkxreODe/Flz8=; b=q vziCBRaeU9lJyQuvC/i4SN/K2S7v22Kv8L5WZ6rUgPkzHOxsxANAJzlHuxPQQpw+ kXhNhGrNDeZP+RT6rpjfA5mtmZt21uL4T6pBDzZDp3c8OEJb1IWkPhX+5ZTm/aAc 0JDC+rAEwg9wKFW9PCKUs3rtDsGDO/LczerzQ0ANO8= X-Virus-Scanned: amavisd-new at yadro.com From: Roman Bolshakov To: Date: Fri, 25 Jan 2019 18:55:10 +0300 Message-ID: <20190125155510.15116-1-r.bolshakov@yadro.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [172.17.1.50] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-02.corp.yadro.com (172.17.10.102) X-Spam-Level: ** Message-ID-Hash: EMBTL6OGYEGHKMZNDJSF2WULCX6P3MYH X-Message-ID-Hash: EMBTL6OGYEGHKMZNDJSF2WULCX6P3MYH X-MailFrom: r.bolshakov@yadro.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Roman Bolshakov X-Mailman-Version: 3.2.0 Precedence: list Subject: [SeaBIOS] [PATCH] build: Allow to use cross C preprocessor List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: coreboot.org X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" An attempt to cross-compile SeaBIOS on macOS can fail because host C preprocessor doesn't comprehend the command line options: Compiling IASL src/fw/acpi-dsdt.hex cpp -P -MD -MT src/fw/acpi-dsdt.hex src/fw/acpi-dsdt.dsl -o out/src/fw/acpi= -dsdt.dsl.i.orig clang: error: no input files make: *** [src/fw/acpi-dsdt.hex] Error 1 Signed-off-by: Roman Bolshakov Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d2d11db..909c0a1 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ OBJCOPY=3D$(CROSS_PREFIX)objcopy OBJDUMP=3D$(CROSS_PREFIX)objdump STRIP=3D$(CROSS_PREFIX)strip PYTHON=3Dpython -CPP=3Dcpp +CPP=3D$(CROSS_PREFIX)cpp IASL:=3Diasl LD32BIT_FLAG:=3D-melf_i386 =20 --=20 2.20.1 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org