summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/block/zram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/block/zram/Makefile')
-rw-r--r--kernel/drivers/block/zram/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/drivers/block/zram/Makefile b/kernel/drivers/block/zram/Makefile
new file mode 100644
index 000000000..be0763ff5
--- /dev/null
+++ b/kernel/drivers/block/zram/Makefile
@@ -0,0 +1,5 @@
+zram-y := zcomp_lzo.o zcomp.o zram_drv.o
+
+zram-$(CONFIG_ZRAM_LZ4_COMPRESS) += zcomp_lz4.o
+
+obj-$(CONFIG_ZRAM) += zram.o