tile: Fix vDSO compilation issue with allyesconfig
authorKerry Sheh <ksheh@tilera.com>
Wed, 2 Apr 2014 02:45:35 +0000 (10:45 +0800)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 4 Apr 2014 17:03:44 +0000 (13:03 -0400)
make allyesconfig give the following build error on tile:
 tilegx-linux-gcc: error: arch/tile/kernel/vdso/vgettimeofday32.o: No such file or directory
 tilegx-linux-objcopy: 'arch/tile/kernel/vdso/vdso32.so.dbg': No such file or directory

In case with CONFIG_MODVERSIONS, cmd_cc_o_c generate .tmp_<file>.o from
<file>.c only. Fix it by execute rule_cc_o_c instead.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Kerry Sheh <ksheh@tilera.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/vdso/Makefile

index e2b7a2f4ee4103eebd8b551339c3c3ecddb6ed2e..a025f63d54cd9609820c634da186a5e71a026375 100644 (file)
@@ -104,7 +104,7 @@ $(obj-vdso32:%=%): KBUILD_AFLAGS = $(KBUILD_AFLAGS_32)
 $(obj-vdso32:%=%): KBUILD_CFLAGS = $(KBUILD_CFLAGS_32)
 
 $(obj)/vgettimeofday32.o: $(obj)/vgettimeofday.c
-       $(call if_changed,cc_o_c)
+       $(call if_changed_rule,cc_o_c)
 
 $(obj)/vrt_sigreturn32.o: $(obj)/vrt_sigreturn.S
        $(call if_changed,as_o_S)