summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mmc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mmc/Makefile')
-rw-r--r--kernel/drivers/mmc/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/drivers/mmc/Makefile b/kernel/drivers/mmc/Makefile
new file mode 100644
index 000000000..400756ec7
--- /dev/null
+++ b/kernel/drivers/mmc/Makefile
@@ -0,0 +1,9 @@
+#
+# Makefile for the kernel mmc device drivers.
+#
+
+subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG
+
+obj-$(CONFIG_MMC) += core/
+obj-$(CONFIG_MMC) += card/
+obj-$(subst m,y,$(CONFIG_MMC)) += host/