]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: create a rule to run the pre-processor on *.dts files
authorStephen Warren <swarren@nvidia.com>
Tue, 5 Feb 2013 19:06:28 +0000 (12:06 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 8 Feb 2013 14:38:07 +0000 (14:38 +0000)
commit606fdaf30d88955e1b97aab2a8cbb7ee38fa58d3
tree74b2748ef47b5f126113911d7585f5b47ab80b2b
parent5b2203a7c91767cba44363128e937a00abf4fa27
kbuild: create a rule to run the pre-processor on *.dts files

Create cmd_dtc_cpp to run the C pre-processor on *.dts file before
passing them to dtc for final compilation. This allows the use of #define
and #include within the .dts file.

Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Michal Marek <mmarek@suse.cz>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/kbuild/makefiles.txt
scripts/Makefile.lib