summaryrefslogtreecommitdiffstats
path: root/drivers/block/zram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/zram/Makefile')
-rw-r--r--drivers/block/zram/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/block/zram/Makefile b/drivers/block/zram/Makefile
index cb0f9ced6a93..be0763ff57a2 100644
--- a/drivers/block/zram/Makefile
+++ b/drivers/block/zram/Makefile
@@ -1,3 +1,5 @@
-zram-y := zram_drv.o
+zram-y := zcomp_lzo.o zcomp.o zram_drv.o
+
+zram-$(CONFIG_ZRAM_LZ4_COMPRESS) += zcomp_lz4.o
obj-$(CONFIG_ZRAM) += zram.o