kbuild: post: fix dependency tracking correctly
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Feb 2014 02:26:08 +0000 (11:26 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:38 +0000 (09:27 -0500)
$(call if_changed,...) must take FORCE as a prerequite.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
post/lib_powerpc/fpu/Makefile

index 556a833..5c2e804 100644 (file)
@@ -19,5 +19,5 @@ ccflags-y := -mhard-float -fkeep-inline-functions
 obj-y := $(objs-before-objcopy:.o=_.o)
 
 OBJCOPYFLAGS := -R .gnu.attributes
-$(obj)/%_.o: $(obj)/%.o
+$(obj)/%_.o: $(obj)/%.o FORCE
        $(call if_changed,objcopy)