Makefile 891 Bytes
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
Phillip Lougher's avatar
Phillip Lougher committed
2 3 4 5 6 7
#
# Makefile for the linux squashfs routines.
#

obj-$(CONFIG_SQUASHFS) += squashfs.o
squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
8 9 10
squashfs-y += namei.o super.o symlink.o decompressor.o
squashfs-$(CONFIG_SQUASHFS_FILE_CACHE) += file_cache.o
squashfs-$(CONFIG_SQUASHFS_FILE_DIRECT) += file_direct.o page_actor.o
11 12 13
squashfs-$(CONFIG_SQUASHFS_DECOMP_SINGLE) += decompressor_single.o
squashfs-$(CONFIG_SQUASHFS_DECOMP_MULTI) += decompressor_multi.o
squashfs-$(CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU) += decompressor_multi_percpu.o
14
squashfs-$(CONFIG_SQUASHFS_XATTR) += xattr.o xattr_id.o
15
squashfs-$(CONFIG_SQUASHFS_LZ4) += lz4_wrapper.o
16
squashfs-$(CONFIG_SQUASHFS_LZO) += lzo_wrapper.o
17
squashfs-$(CONFIG_SQUASHFS_XZ) += xz_wrapper.o
18
squashfs-$(CONFIG_SQUASHFS_ZLIB) += zlib_wrapper.o
Sean Purcell's avatar
Sean Purcell committed
19
squashfs-$(CONFIG_SQUASHFS_ZSTD) += zstd_wrapper.o