aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/Makefile
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-31 12:15:51 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-06-01 10:23:16 -0400
commit62c186fde48926a30f4e61332a805430dc1325cd (patch)
tree81605fbd93cb8f12e5997fc5b8d5dcb66067bb83 /litmus/Makefile
parent4382e90cf851fc1d209a466bab92e256aeb7acf1 (diff)
Make PFAIR optional to prevent build and runtime failures.
The PFAIR plugin always implicitly assumed !NO_HZ (the schedule is wrong if NO_HZ is enabled) and does not built if hrtimers are absent: > litmus/built-in.o: In function `pfair_activate_plugin': > sched_pfair.c:(.text+0x7f07): undefined reference to `cpu_stagger_offset' > litmus/built-in.o: In function `init_pfair': > sched_pfair.c:(.init.text+0x487): undefined reference to `cpu_stagger_offset' cpu_stagger_offset() is only available if hrtimers are enabled. This patch makes these dependencies explicit.
Diffstat (limited to 'litmus/Makefile')
-rw-r--r--litmus/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/Makefile b/litmus/Makefile
index e581e87213c2..30369787ece2 100644
--- a/litmus/Makefile
+++ b/litmus/Makefile
@@ -13,10 +13,10 @@ obj-y = sched_plugin.o litmus.o \
13 bheap.o \ 13 bheap.o \
14 ctrldev.o \ 14 ctrldev.o \
15 sched_gsn_edf.o \ 15 sched_gsn_edf.o \
16 sched_psn_edf.o \ 16 sched_psn_edf.o
17 sched_pfair.o
18 17
19obj-$(CONFIG_PLUGIN_CEDF) += sched_cedf.o 18obj-$(CONFIG_PLUGIN_CEDF) += sched_cedf.o
19obj-$(CONFIG_PLUGIN_PFAIR) += sched_pfair.o
20 20
21obj-$(CONFIG_FEATHER_TRACE) += ft_event.o ftdev.o 21obj-$(CONFIG_FEATHER_TRACE) += ft_event.o ftdev.o
22obj-$(CONFIG_SCHED_TASK_TRACE) += sched_task_trace.o 22obj-$(CONFIG_SCHED_TASK_TRACE) += sched_task_trace.o