ARM: dts: prevent *.dtb from always being rebuilt
authorStephen Warren <swarren@nvidia.com>
Sat, 29 Dec 2012 00:42:46 +0000 (17:42 -0700)
committerRob Herring <rob.herring@calxeda.com>
Mon, 14 Jan 2013 14:08:31 +0000 (08:08 -0600)
commit1ab3681271c84b7f926be9ae3be1d769b7e933e9
treec552dd4b970925cd4d0f85a825d6491288e40194
parentd0b6a548f7fc9af9cc0bdea5bcc66bec3581ec37
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>
arch/arm/boot/dts/Makefile