xref: /OK3568_Linux_fs/kernel/fs/romfs/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for the linux RomFS filesystem routines.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunobj-$(CONFIG_ROMFS_FS) += romfs.o
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunromfs-y := storage.o super.o
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunifneq ($(CONFIG_MMU),y)
11*4882a593Smuzhiyunromfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o
12*4882a593Smuzhiyunendif
13*4882a593Smuzhiyun
14