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: v2.6.35-rc2~58 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0a6531ebea13b164825ba28e77dcbed3e9386884;p=~emulex%2Finfiniband.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 c85625f4ab2..73f75f8a87d 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)