xref: /linux/fs/romfs/Makefile (revision bea00fab2b0e5359ee88a2b127f15a35cd48872b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux RomFS filesystem routines.
4#
5
6obj-$(CONFIG_ROMFS_FS) += romfs.o
7
8romfs-y := storage.o super.o
9
10ifneq ($(CONFIG_MMU),y)
11romfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o
12endif
13
14