Skip to contentSkip to conversation

fix clockevents compile error

PATCH New [email protected] 1 participant 1 message Jun 14, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix clockevents compile error

clockevents depends on generic time, since there's some defines it needs which get removed when generic time is off .

---
 kernel/time/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)
kernel/time/Makefile +5 -1
Index: linux-2.6.16/kernel/time/Makefile
===================================================================
@@ -1 +1,5 @@
-obj-y += clocksource.o jiffies.o clockevents.o
+
+obj-y += clocksource.o jiffies.o
+
+obj-$(CONFIG_GENERIC_TIME) += clockevents.o
+

--