[RFC PATCH 0/2] dtc: enable use of pre-processor
Stephen Warren
swarren at wwwdotorg.org
Sat Sep 29 05:32:09 EST 2012
From: Stephen Warren <swarren at nvidia.com>
This series adds some build rules to run cpp on *.dtsp prior to
invoking dtc, and converts Tegra to the new rule as an example. What do
people think?
I assume that you've applied the dtc patches I sent yesterday. They
aren't in this series. See:
https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-September/020182.html
https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-September/020183.html
https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-September/020181.html
https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-September/020387.html
Note: those patches are against upstream dtc. If you wish to test this
series, apply the dtc patches to upstream dtc, build it, and copy the
resultant dtc binary over the top of scripts/dtc/dtc.
I'll post a patch to update the in-kernel dtc to the upstream dtc as
soon as one final dtc patch has been applied, and this series will then
depend on that patch.
Stephen Warren (2):
kbuild: centralize .dts->.dtb rule
kbuild: introduce cmd_dtc_cpp
arch/arm/boot/Makefile | 4 ----
arch/arm/boot/dts/skeleton.dtsip | 13 +++++++++++++
arch/c6x/boot/Makefile | 3 ---
arch/openrisc/boot/Makefile | 3 ---
arch/powerpc/boot/Makefile | 4 ----
scripts/Makefile.lib | 9 +++++++++
6 files changed, 22 insertions(+), 14 deletions(-)
create mode 100644 arch/arm/boot/dts/skeleton.dtsip
More information about the devicetree-discuss
mailing list