[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_Jsq+we-0c25Hn+eGDTsyTDwKEvs9LWV9QtLX1+8V3DmtFtg@mail.gmail.com>
Date: Wed, 18 Dec 2019 07:51:21 -0600
From: Rob Herring <robh+dt@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Frank Wunderlich <frank-w@...lic-files.de>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Frank Rowand <frowand.list@...il.com>,
DTML <devicetree@...r.kernel.org>
Subject: Re: [PATCH] kbuild: Add DTC_CPP_FLAGS
On Wed, Dec 18, 2019 at 7:37 AM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> (+CC: DT maintainers)
>
> On Wed, Dec 18, 2019 at 8:55 PM Frank Wunderlich
> <frank-w@...lic-files.de> wrote:
> >
> > With this Patch we are able to change cpp-preprocessor options
> > (e.g. -D...) for using conditions (#ifdef) in devicetree files
> > and dynamically add include searchpaths
>
> I think this is questionable
> since DT is supposed to describe hardware.
> Does it depends on #ifdef or some external defines?
NAK. #ifdefs and complex macros in particular are features we don't
want in dts files.
Rob
Powered by blists - more mailing lists