summaryrefslogtreecommitdiffstats
path: root/drivers/idle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/idle/Makefile')
-rw-r--r--drivers/idle/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/idle/Makefile b/drivers/idle/Makefile
new file mode 100644
index 000000000..a34af1ba0
--- /dev/null
+++ b/drivers/idle/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+# Branch profiling isn't noinstr-safe
+ccflags-$(CONFIG_TRACE_BRANCH_PROFILING) += -DDISABLE_BRANCH_PROFILING
+
+obj-$(CONFIG_INTEL_IDLE) += intel_idle.o