From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web10.35172.1590760974481315616 for ; Fri, 29 May 2020 07:02:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=zL5XHDA3; spf=pass (domain: nuviainc.com, ip: 209.85.128.65, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f65.google.com with SMTP id d128so3714902wmc.1 for ; Fri, 29 May 2020 07:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SyRpJ74jiDaRsbb3mBzmjzkF4FLI8YwgQDfUvjthW7Y=; b=zL5XHDA3/VDqCxrqerQ5+UI7VASj1LeTbchQR66sgjdDnrWjH1oP79/XHX2uerZBj3 ifAcePIENs3PznlorSZKyI0/oN1jzH4XbMQtHoUZYWgW2igFWZt4lBbZelLWCZfm5fr9 wabFDfD0hYPQslN2/MxSXIVTPumt++pAEOtSY5VaPaxG6jzGng7X4hhaZOjHd22Q8sDH Vi/kSZCmUvhDucaATcJ+ymkRf+zj/IxuOwSbgBhQb21XV10p1PTuIq1ZH+v3UfMj0mtw DGDUVpfh1MuaQbXBIVzQL3bXYEtdGQ6RXVeVmJCCDjgKUvA9SHq+6VWVkx9N7Uz9Cx0/ BhnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SyRpJ74jiDaRsbb3mBzmjzkF4FLI8YwgQDfUvjthW7Y=; b=E7Mk/MhvLzBA/gWn5Klj++wdXXu8PTngtvsghdANUIhrzYGIdwvYFj+znCZ2Kwrdyf 81GnV8zbZwfhFMldfM0TsKQuWjmvUYofECwNk7AicvjhJGixytOOjYkkM8ETDd0S63/0 YP/13As2miy/6m+o6ioyGFBL3TrhROi08IUCngIQ3zE+cvA29x8yRjC/iUZmHSJugZKu yErx0f6kKKfAKbOJf0r5cPuzMudYV53Hfc+XcXZ+n1pF2Utep420wRbed3ISsfg6vOa2 EYbgYgAbMmWpuqgYzl+8ZyKKVtKo7l4X8iZp3qolhG3QblKNe9+CwwIRLPlDfz7SzZSh 7qLA== X-Gm-Message-State: AOAM530jduMIA+h5UsWD5cnlrH8RZS2IQWvKkFtmMP38zI4ui0KnY6Ip eahjtKCuC5l97M7IOlALv9NR6KXmlND3J/7V7GkigQRy/BB7NTvluMvnftwnZ5IDEzH2XdeWKEB ekxTRiL/8kF5eRY1Vr+918PJwQ87uETbcgG/c9HnXa5QTNULYNg+BvMOPIrjlEHsCTA== X-Google-Smtp-Source: ABdhPJwljNu9sZHCkwb+Rtr+OoWtA27wFor70kngIoiQ1bdvTF5xRW1Eeau23OBhs2SWbNJVlorxHA== X-Received: by 2002:a05:600c:2944:: with SMTP id n4mr9135279wmd.135.1590760972648; Fri, 29 May 2020 07:02:52 -0700 (PDT) Return-Path: Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id v7sm7281645wme.46.2020.05.29.07.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 07:02:52 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Michael D Kinney , Andrew Fish , Laszlo Ersek , Pankaj Bansal Subject: [PATCH edk2-InfSpecification] Drop statement on package ordering Date: Fri, 29 May 2020 15:02:51 +0100 Message-Id: <20200529140251.23933-1-leif@nuviainc.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The description of [Packages] sections stated that "Packages must be listed in the order that may be required for specifying include path statements for a compiler. For example, the MdePkg/MdePkg.dec file must be listed before the MdeModulePkg/MdeModulePkg.dec file." Drop it. Signed-off-by: Leif Lindholm --- Surely this isn't something we take seriously? If there is a measurable performance impact to the order of -I option on the compiler command line, we should approach this programmatically. 3_edk_ii_inf_file_format/37_[packages]_sections.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/3_edk_ii_inf_file_format/37_[packages]_sections.md b/3_edk_ii_inf_file_format/37_[packages]_sections.md index 17a8d91..c09112b 100644 --- a/3_edk_ii_inf_file_format/37_[packages]_sections.md +++ b/3_edk_ii_inf_file_format/37_[packages]_sections.md @@ -42,11 +42,8 @@ Defines the `[Packages]` section tag that is used in EDK II module INF files. Each entry in this section contains a directory name, forward slash character and the name of the DEC file contained in the directory name. -Packages must be listed in the order that may be required for specifying -include path statements for a compiler. For example, the _MdePkg/MdePkg.dec_ -file must be listed before the `MdeModulePkg/MdeModulePkg.dec` file. If there -are PCDs listed in the generated "As Built" INF, the packages that declare any -PCDs must be listed in this section. +If there are PCDs listed in the generated "As Built" INF, the packages that +declare any PCDs must be listed in this section. Each package filename must be listed only once per section. Package filenames listed in architectural sections are not permitted to be listed in the common -- 2.20.1