From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH edk2-platforms 2/2] Platform/Hisilicon: fix conditional inclusion of tftp shell command
Date: Mon, 4 Dec 2017 17:27:49 +0000 [thread overview]
Message-ID: <CAKv+Gu-=J3i3jvp3a6H98tA-dF-EmtSET8jC1=vHgBVGUjwtZw@mail.gmail.com> (raw)
In-Reply-To: <20171204171714.ju6ezajbhgoensca@bivouac.eciton.net>
On 4 December 2017 at 17:17, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Mon, Dec 04, 2017 at 05:15:35PM +0000, Ard Biesheuvel wrote:
>> On 4 December 2017 at 17:13, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>> > D02, D03 and D05 all have nice conditional clauses to only include
>> > the non-standard tftp shell command ifdef(INCLUDE_TFTP_COMMAND).
>> >
>> > Unfortunately, they all explicitly set DEFINE INCLUDE_TFTP_COMMAND=1 in
>> > their platform description files, meaning there is no way to exclude the
>> > command without an editor.
>> >
>> > So remove the DEFINE and let people specify on the command line whether
>> > to include it, as originally intended.
>> >
>> > Contributed-under: TianoCore Contribution Agreement 1.1
>> > Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
>>
>> Assuming that not defining the macro is the same as defining it to 0
>
> Well, the test was ifdef, which is what made the below a bug rather
> than an undesirable default :)
>
Ah right. I missed that. So yes, please remove that.
next prev parent reply other threads:[~2017-12-04 17:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 17:13 [PATCH edk2-platforms 1/2] Platform/Hisilicon: fix D05 .dsc line endings Leif Lindholm
2017-12-04 17:13 ` [PATCH edk2-platforms 2/2] Platform/Hisilicon: fix conditional inclusion of tftp shell command Leif Lindholm
2017-12-04 17:15 ` Ard Biesheuvel
2017-12-04 17:17 ` Leif Lindholm
2017-12-04 17:27 ` Ard Biesheuvel [this message]
2017-12-04 17:28 ` Leif Lindholm
2017-12-04 17:14 ` [PATCH edk2-platforms 1/2] Platform/Hisilicon: fix D05 .dsc line endings Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKv+Gu-=J3i3jvp3a6H98tA-dF-EmtSET8jC1=vHgBVGUjwtZw@mail.gmail.com' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox