From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 031E0D807AB for ; Wed, 27 Mar 2024 19:40:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MdZwYcQ1GDbf6S6CcuMurWyBaVMuaYrRi/Y7msFrLUA=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1711568439; v=1; b=5JKpmTAkh+WNaopFbiUN76ZByp4sUYEDchIEqJ5MKvLye3GygTBrSxdW9QFxyUehn2SKela5 R+9S20sCe4RqN9GUa7tYelvE/AglJd/j+Z4SJ4vs9QSN2y2/SwhEbagIdMYCHZOeiNrfyPP0jLX 1UBWgVVb2juC2bwuhvxfooqgJ6vRQYnb0A9zvDXijJh8mobElKDevHblTfWjvdcC1jUo4qPfiU2 F0QRyT95BS0VzWdm+oxGgBSDVaqRG8CWm8CsPdIJAdNZVXncgGMI110/mmQGgXQNZz0NuytORdN uqhwo6gi04JJqRoFePYwt5S38Tuv79j+/huEfQBGU7TTg== X-Received: by 127.0.0.2 with SMTP id WGRVYY7687511xbXWQFFO5DX; Wed, 27 Mar 2024 12:40:39 -0700 Subject: [edk2-devel] INF defines section "SPEC" option - Build failure To: devel@edk2.groups.io From: "ashwin.veeraiah via groups.io" X-Originating-Location: US (192.56.53.14) X-Originating-Platform: Windows Chrome 122 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 27 Mar 2024 08:57:52 -0700 Message-ID: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ashwin.veeraiah@hp.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: kj8nzpDSdgTcSiFfdTfCBDtHx7686176AA= Content-Type: multipart/alternative; boundary="OnJsBpwVUaCZRvyXnuuR" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=5JKpmTAk; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io --OnJsBpwVUaCZRvyXnuuR Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Greetings! The edk2 base tools scripts seems to have some issues translating the "SPEC= " option under the "DEFINES" section of the INF file. Currently if we follow the instruction listed out on the github page build = failure occurs. [Defines] SPEC=C2=A0 =C2=A0 =C2=A0 =C2=A0Value =3D 1.0 Failure : makefile(50) : fatal error U1036: syntax error : too many names to left of = '=3D' Content in Makefile : SPEC=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Value =3D 2.5 The error goes away if I use this format in the INF file, SPEC =3D=C2=A0 =C2=A0 Value =3D 2.5 However, there is no #define pair created in the Autogen.h file. Please has anyone used this option and got it working? Regards, Ashwin -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117179): https://edk2.groups.io/g/devel/message/117179 Mute This Topic: https://groups.io/mt/105184345/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --OnJsBpwVUaCZRvyXnuuR Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Greetings!

The edk2 base tools scripts seems to have some issues= translating the "SPEC" option under the "DEFINES" section of the INF file.=  
Currently if we follow the instruction listed out on the github= page build failure occurs. 

[Defines]
SPEC  &nbs= p;    Value =3D 1.0

Failure : 
makefile(50) = : fatal error U1036: syntax error : too many names to left of '=3D'
Content in Makefile : 
SPEC         =    Value =3D 2.5

The error goes away if I use this fo= rmat in the INF file,

SPEC =3D    Value =3D 2.5
<= br />However, there is no #define pair created in the Autogen.h file. =

Please has anyone used this option and got it working?
Regards,
Ashwin
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#117179) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--OnJsBpwVUaCZRvyXnuuR--