On 03/11/18 02:48, Laszlo Ersek wrote:
> Repo:   https://github.com/lersek/edk2.git
> Branch: hdr_inf_cleanup
> 
> In
> <http://mid.mail-archive.com/E92EE9817A31E24EB0585FDF735412F56327F7D3@ORSMSX113.amr.corp.intel.com>,
> Mike explained why it's a good idea to list module-internal *.h files in
> the [Sources*] sections of the INF files:
> 
> On 11/23/15 21:28, Kinney, Michael D wrote:
>> There are 2 reasons to list all source files used in a module build in
>> the [Sources] section.
>>
>> 1) Support incremental builds.  If a change to the .h file is made,
>>    then the module may  not be rebuilt if the .h file is not listed in
>>    [Sources]
>> 2) Support of UEFI Distribution Package distribution format.  The UPT
>>    tools that creates UDP packages uses the [Sources] section for the
>>    inventory of files.  If a file is missing, then it will not be
>>    included in the UDP file.

Commit range d154a4dfaec4..ea30f8e81399.

Thanks
Laszlo
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to