From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in4.apple.com (mail-out4.apple.com [17.151.62.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 68D471A1E2A for ; Mon, 15 Aug 2016 09:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1471278083; x=2335191683; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GRyZn87Ponq1RZNx4Jlj4Bd5DBBLoZxzt3ArhV460LU=; b=hKrLqNCKIN27x3LzublUieB66az11aEVWizPHP/JY/w5zQhvVDFeIhyuIOYEiEPx l0CgetmkT+W35trGVyA3O23DJxumxREbEB0LtNvjtanEGfRBnU8kudgZoULOC7X1 lhRbx1WtU4d/6V/L+rXDlTX0YYFF+I8GMZQcwaJjclOPfUaFd0u8Bw7jGTwEEE9s rpEHcJ+gLdsQsGyka/QEbju4J2meCgIELhvEFLJkmNw7XiNMDoFI721bcNLUCFet IRU34kSXqwhViRuaEdT5XChA9dXlr+VjTynzEo0ipAuL7QdUZokTwC+jHWfYJGnP IDONDfg/0ivbL86LIjh/sQ==; Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) by mail-in4.apple.com (Apple Secure Mail Relay) with SMTP id B6.C4.07433.30CE1B75; Mon, 15 Aug 2016 09:21:23 -0700 (PDT) X-AuditID: 11973e12-f79b16d000001d09-29-57b1ec03e46e Received: from nwk-mmpp-sz11.apple.com (nwk-mmpp-sz11.apple.com [17.128.115.155]) by relay5.apple.com (Apple SCV relay) with SMTP id E2.42.30701.20CE1B75; Mon, 15 Aug 2016 09:21:22 -0700 (PDT) MIME-version: 1.0 Received: from [17.153.67.115] by nwk-mmpp-sz11.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OBY00J25LFLOX10@nwk-mmpp-sz11.apple.com>; Mon, 15 Aug 2016 09:21:22 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Mon, 15 Aug 2016 09:21:35 -0700 Cc: edk2-devel Message-id: <56352D44-41C4-49D8-8BFA-C92B84CC0CDC@apple.com> References: To: Kurt Kennett X-Mailer: Apple Mail (2.3112) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsUi2FAYocv8ZmO4weLljBZ7Dh1ltpi03MKB yaN79j8Wj9Ydf9kDmKK4bFJSczLLUov07RK4MqZNWsFU8JenonPXO5YGxhbuLkZODgkBE4kV vXdYIGwxiQv31rN1MXJxCAnsZZR49nIRG0zRlOaJjBCJQ4wSlz8+ZQRJ8AoISvyYfA+om4OD WUBe4uB5WZAws4CWxPdHrSwQ9e8YJaa1NjOBJIQFxCXendnEDGH7Ssz4txpsM5uAssSK+R/Y QeZwCsRK9H5OBAmzCKhKPLy6jxVipobE19Xb2SHW2khc6j0KdoKQQIzEtlmX2UBaRQR0JTZ2 GUOcLCuxb8MCsF8kBLawSfw6MYN1AqPILCRXz0K4ehaSqxcwMq9iFMpNzMzRzcwz0UssKMhJ 1UvOz93ECAr26XZCOxhPrbI6xCjAwajEw7ujekO4EGtiWXFl7iFGaQ4WJXHedf/WhwsJpCeW pGanphakFsUXleakFh9iZOLglGpg5LPftD1ozrS06LeKplemG59aUK5VraFhm2hQtmCa5Txu 0SfyTkaNjXYR82NkD+gVpslvOb3ltcDX0IOnLn2LZNtru/WHW0f29wr1tn1H24R68veq/7z3 /VBU2nMeC7OciZ6endOqPTJ7U99/72ssb+B+deSFRmHvCRUrtqSQrR8/NbaohRYpsRRnJBpq MRcVJwIAZXZ9Z1cCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsUi2FA8W5fpzcZwg2cPrC32HDrKbDFpuYUD k0f37H8sHq07/rIHMEVx2aSk5mSWpRbp2yVwZUybtIKp4C9PReeudywNjC3cXYycHBICJhJT micyQthiEhfurWfrYuTiEBI4xChx+eNTsASvgKDEj8n3WLoYOTiYBeQlDp6XBQkzC2hJfH/U ygJR/45RYlprMxNIQlhAXOLdmU3MELavxIx/q1lAbDYBZYkV8z+wg8zhFIiV6P2cCBJmEVCV eHh1HyvETA2Jr6u3s0OstZG41HsU7AQhgRiJbbMus4G0igjoSmzsMoY4WVZi34YFbBMYBWch OXQWwqGzkBy6gJF5FaNAUWpOYqWpXmJBQU6qXnJ+7iZGcHAWRuxg/L/M6hCjAAejEg/vjuoN 4UKsiWXFlbnAkOBgVhLhnf94Y7gQb0piZVVqUX58UWlOavEhxmSg8ycyS4km5wMjJ68k3tDE xMDE2NjM2NjcxJw0YSVx3jtz1oULCaQnlqRmp6YWpBbBbGHi4JRqYOTbpFiq/6Urae2k2g1y s5dv5VxSfGDLDxeBbBGDaXPrfolsFW1fovzmjcHDzRPZdBfKNuy7tmF22P9HSbyqQQGCki/2 f3r47+s65lvvHOzvf9toZ9aSvEw0LivosnrTov3ftF+02x/32zWB/c/GHTEbLURyT7+b9UTv n9PVN8e57l+RlJno9NxZiaU4I9FQi7moOBEAKGSJ/JICAAA= Subject: Re: Setting BuildOptions by module type does not seem to work X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 16:21:23 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Aug 15, 2016, at 9:10 AM, Kurt Kennett wrote: > > DSC spec (January 2016 1.26) says I can do this: > > (Section 3.6 pp 76) > > ... > * [BuildOptions.$(arch).CodeBase.Edk2ModuleType] > ... > > And this works fine: > > [BuildOptions.AARCH64.common] > *_VS2015x86_*_DLINK_FLAGS = /BORK > > But when I also do: > > [BuildOptions.AARCH64.common.DXE_RUNTIME_DRIVER] > *_VS2015x86_*_DLINK_FLAGS = /PLOR > > The link flags are not affected on the command line - they get the /BORK for all module types, but not the /PLOR for DXE_RUNTIME_DRIVERs. > Kurt, Have you tried [BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]? Do you need EDK compatibility? I'm guessing that works given: ~/work/src/edk2(master)>git grep "BuildOptions." -- *.dsc | grep DXE_RUNTIME_DRIVER OvmfPkg/OvmfPkgIa32.dsc:49:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] OvmfPkg/OvmfPkgIa32X64.dsc:54:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] OvmfPkg/OvmfPkgX64.dsc:54:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] QuarkPlatformPkg/Quark.dsc:885:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] > I'm not familiar with the DSC processing tools source. Anybody know where to look to see why not? > It starts here: https://github.com/tianocore/edk2/blob/master/BaseTools/Source/Python/build/build.py and uses some code from: https://github.com/tianocore/edk2/tree/master/BaseTools/Source/Python/Common Thanks, Andrew Fish > K2 > > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel