summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/Makefile
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-12-28 17:42:46 -0700
committerRob Herring <rob.herring@calxeda.com>2013-01-14 08:08:31 -0600
commit1ab3681271c84b7f926be9ae3be1d769b7e933e9 (patch)
treec552dd4b970925cd4d0f85a825d6491288e40194 /arch/arm/boot/dts/Makefile
parentd0b6a548f7fc9af9cc0bdea5bcc66bec3581ec37 (diff)
downloadblackbird-op-linux-1ab3681271c84b7f926be9ae3be1d769b7e933e9.tar.gz
blackbird-op-linux-1ab3681271c84b7f926be9ae3be1d769b7e933e9.zip
ARM: dts: prevent *.dtb from always being rebuilt
if_changed (used by the *.dts->*.dtc rule) rebuilds files if they aren't contained in $(targets). (make V=2 indicates this). Add $(dtb-y) to $(targets) to prevent *.dtb from always being rebuilt. This fixes a regression introduced by the .dtb rule rework in 499cd82 "ARM: dt: change .dtb build rules to build in dts directory". Reported-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/boot/dts/Makefile')
-rw-r--r--arch/arm/boot/dts/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index e44da40d984f..5ebb44fe826a 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -155,6 +155,7 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \
dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb
targets += dtbs
+targets += $(dtb-y)
endif
# *.dtb used to be generated in the directory above. Clean out the
OpenPOWER on IntegriCloud