summaryrefslogtreecommitdiff
path: root/drivers/block/zram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/zram/Makefile')
-rw-r--r--drivers/block/zram/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/zram/Makefile b/drivers/block/zram/Makefile
new file mode 100644
index 000000000..be0763ff5
--- /dev/null
+++ b/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