Skip to contentSkip to conversation

tile: Fix vDSO compilation issue with allyesconfig

PATCH New Kerry Sheh 1 participant 1 message Apr 2, 2014

lore
Share & tools
lore

Kerry Sheh

author
#0 lore raw

PATCH 1/1 tile: Fix vDSO compilation issue with allyesconfig

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.

---
 arch/tile/kernel/vdso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/tile/kernel/vdso/Makefile +1 -1
index e2b7a2f..a025f63 100644
@@ -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)
Signature · 8 lines
1.8.3.1

-- 
Kerry Sheh <[email protected]>
Tilera Corp.
Rm B308, No 8 Northeast Wangxi Rd, Haidian, Beijing Zhongguancun Software Park
Tel:  +86-10-82825915-633
Cell: +86-10-152-1018-2083