From: Randy Dunlap Date: Tue, 1 Jun 2010 16:55:07 +0000 (-0700) Subject: Documentation/timers/hpet_example.c: only build on X86 X-Git-Tag: upstream/snapshot3+hdmi~14086 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a6531ebea13b164825ba28e77dcbed3e9386884;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Documentation/timers/hpet_example.c: only build on X86 We should only build hpet_example on x86[-64], where it is implemented. It can cause build errors on other architectures. Signed-off-by: Randy Dunlap Reported-by: Heiko Carstens Cc: Heiko Carstens Cc: Arjan van de Ven Signed-off-by: Linus Torvalds --- diff --git a/Documentation/timers/Makefile b/Documentation/timers/Makefile index c85625f..73f75f8 100644 --- a/Documentation/timers/Makefile +++ b/Documentation/timers/Makefile @@ -2,7 +2,7 @@ obj- := dummy.o # List of programs to build -hostprogs-y := hpet_example +hostprogs-$(CONFIG_X86) := hpet_example # Tell kbuild to always build the programs always := $(hostprogs-y)