summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/onenand/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/onenand/Makefile')
-rw-r--r--drivers/mtd/nand/onenand/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/mtd/nand/onenand/Makefile b/drivers/mtd/nand/onenand/Makefile
new file mode 100644
index 0000000000..a0761c7e02
--- /dev/null
+++ b/drivers/mtd/nand/onenand/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the OneNAND MTD
+#
+
+# Core functionality.
+obj-$(CONFIG_MTD_ONENAND) += onenand.o
+
+# Board specific.
+obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
+obj-$(CONFIG_MTD_ONENAND_OMAP2) += onenand_omap2.o
+obj-$(CONFIG_MTD_ONENAND_SAMSUNG) += onenand_samsung.o
+
+onenand-objs = onenand_base.o onenand_bbt.o