fix: tie compaction probe build to CONFIG_COMPACTION
[lttng-modules.git] / probes / Kbuild
index 4db634abbd41143a02d14484f632d31d6b07ef7d..7f88c9f507f6dd12308273f10d9c03bcd0d50ab0 100644 (file)
@@ -167,7 +167,9 @@ ifneq ($(CONFIG_BTRFS_FS),)
   endif # $(wildcard $(btrfs_dep))
 endif # CONFIG_BTRFS_FS
 
-obj-$(CONFIG_LTTNG) += lttng-probe-compaction.o
+ifneq ($(CONFIG_COMPACTION),)
+  obj-$(CONFIG_LTTNG) += lttng-probe-compaction.o
+endif # CONFIG_COMPACTION
 
 ifneq ($(CONFIG_EXT4_FS),)
   ext4_dep = $(srctree)/fs/ext4/*.h
This page took 0.025262 seconds and 4 git commands to generate.