[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130212230955.5E5B93E240D@localhost>
Date: Tue, 12 Feb 2013 23:09:55 +0000
From: Grant Likely <grant.likely@...retlab.ca>
To: Stephen Warren <swarren@...dotorg.org>,
Rob Herring <rob.herring@...xeda.com>
Cc: devicetree-discuss@...ts.ozlabs.org, Michal Marek <mmarek@...e.cz>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Stephen Warren <swarren@...dia.com>
Subject: Re: [PATCH] kbuild: limit dtc+cpp include path
On Tue, 12 Feb 2013 15:03:37 -0700, Stephen Warren <swarren@...dotorg.org> wrote:
> From: Stephen Warren <swarren@...dia.com>
>
> Device tree source files may now include header files. The intent is
> that those header files define/name constants used as part of the DT
> bindings. Currently this feature is open to abuse, since any kernel
> header file at all can be included, This could allow device tree files
> to become dependant on kernel headers files, and thus make them no
> longer OS-independent. This would also prevent separating the device
> tree source files from the kernel repository.
>
> Solve this by limiting the cpp include path for device tree files to
> separate directories.
>
> Signed-off-by: Stephen Warren <swarren@...dia.com>
> ---
> Here, I allow header files in the .dts source directory, or in a per-arch
> include directory. Perhaps rather than:
>
> -I$(srctree)/arch/$(SRCARCH)/include/dts
That seems reasonable for now.
Applied, thanks.
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists