From: Nikolay Dimitrov <picmaster+prvs=1343ce5590@mail.bg>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3] ARM: mx6: Add support for Kosagi Novena
Date: Mon, 22 Sep 2014 21:24:05 +0300 [thread overview]
Message-ID: <54206945.3020300@mail.bg> (raw)
In-Reply-To: <1411307086-12105-1-git-send-email-marex@denx.de>
Hi Marek,
On 09/21/2014 04:44 PM, Marek Vasut wrote:
> diff --git a/board/kosagi/novena/Makefile b/board/kosagi/novena/Makefile
> new file mode 100644
> index 0000000..f67bbc9
> --- /dev/null
> +++ b/board/kosagi/novena/Makefile
> @@ -0,0 +1,11 @@
> +#
> +# Copyright (C) 2014 Marek Vasut<marex@denx.de>
> +#
> +# SPDX-License-Identifier: GPL-2.0+
> +#
> +
> +ifndef CONFIG_SPL_BUILD
> +obj-y := novena.o
> +else
> +obj-y := novena_spl.o
> +endif
What do you say about using only "positive" descriptions instead of the
negation, like this:
ifdef CONFIG_SPL_BUILD
obj-y := novena_spl.o
else
obj-y := novena.o
endif
In long term people tend to misunderstand the negations, and sometimes
(unfortunately) start to build additional negations on top, so it's hard
to follow the logic in the end.
One more comment - isn't the file novena.o used also for the TPL, when
building for SPL?
Kind regards,
Nikolay
next prev parent reply other threads:[~2014-09-22 18:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 13:44 [U-Boot] [PATCH V3] ARM: mx6: Add support for Kosagi Novena Marek Vasut
2014-09-22 13:44 ` Stefano Babic
2014-09-22 18:24 ` Nikolay Dimitrov [this message]
2014-09-23 9:47 ` Marek Vasut
2014-09-23 23:42 ` Nikolay Dimitrov
2014-09-24 5:48 ` Tim Harvey
2014-09-24 10:09 ` Nikolay Dimitrov
2014-09-22 21:38 ` Nikolay Dimitrov
2014-09-23 10:14 ` Marek Vasut
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-all 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=54206945.3020300@mail.bg \
--to=picmaster+prvs=1343ce5590@mail.bg \
--cc=u-boot@lists.denx.de \
/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