From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolay Dimitrov Date: Mon, 22 Sep 2014 21:24:05 +0300 Subject: [U-Boot] [PATCH V3] ARM: mx6: Add support for Kosagi Novena In-Reply-To: <1411307086-12105-1-git-send-email-marex@denx.de> References: <1411307086-12105-1-git-send-email-marex@denx.de> Message-ID: <54206945.3020300@mail.bg> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 > +# > +# 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