summaryrefslogtreecommitdiffstats
path: root/kernel/fs/romfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/romfs/Makefile')
-rw-r--r--kernel/fs/romfs/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/fs/romfs/Makefile b/kernel/fs/romfs/Makefile
new file mode 100644
index 000000000..420beb7d4
--- /dev/null
+++ b/kernel/fs/romfs/Makefile
@@ -0,0 +1,12 @@
+#
+# Makefile for the linux RomFS filesystem routines.
+#
+
+obj-$(CONFIG_ROMFS_FS) += romfs.o
+
+romfs-y := storage.o super.o
+
+ifneq ($(CONFIG_MMU),y)
+romfs-$(CONFIG_ROMFS_ON_MTD) += mmap-nommu.o
+endif
+