diff mbox

[3/7] dt: dtb version: arm dts Makefile

Message ID 550A43D0.8080900@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Frank Rowand March 19, 2015, 3:34 a.m. UTC
From: Frank Rowand <frank.rowand@sonymobile.com>

Remove generated files from the dependencies of .dtb files, where the
generated files are created as a result of making a .dtb.

Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
---
 arch/arm/boot/dts/Makefile                   |   10 +++

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: b/arch/arm/boot/dts/Makefile
===================================================================
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -650,5 +650,15 @@  dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt8135-evbp1.dtb
 endif
 
+# These files are generated by a kernel make if .version has changed.
+# Do not allow them to act as a dependency for rebuilding a .dtb that
+# has included dt-bindings/version.dtsi.
+PHONY += include/generated/compile.h include/generated/utsrelease.h
+
+# This file is generated by a .dtb make if .version_dtb has changed.
+# Do not allow it to act as a dependency for rebuilding a .dtb that
+# has included dt-bindings/version.dtsi.
+PHONY += include/generated/compile_dtb.h
+
 always		:= $(dtb-y)
 clean-files	:= *.dtb