From a02bfd86978d26571036bb3e3a8c898de8e90971 Mon Sep 17 00:00:00 2001 From: Luwei Zhou Date: Wed, 8 Apr 2015 14:44:51 +0800 Subject: MLK-10600-2: mxc: sim: Add an option to enable SIM driver build. Add the option to enable SIM driver build. Signed-off-by: Luwei Zhou Signed-off-by: Gao Pan (cherry picked from 0f7a6fa3c141bfc7333d9056639b7a5b1154ed1d) --- drivers/mxc/Kconfig | 11 +++++++++++ drivers/mxc/Makefile | 1 + drivers/mxc/sim/Kconfig | 13 +++++++++++++ drivers/mxc/sim/Makefile | 5 +++++ 4 files changed, 30 insertions(+) create mode 100644 drivers/mxc/Kconfig create mode 100644 drivers/mxc/Makefile create mode 100644 drivers/mxc/sim/Kconfig create mode 100644 drivers/mxc/sim/Makefile diff --git a/drivers/mxc/Kconfig b/drivers/mxc/Kconfig new file mode 100644 index 000000000000..a6f5a8d9a2b7 --- /dev/null +++ b/drivers/mxc/Kconfig @@ -0,0 +1,11 @@ +# drivers/mxc/Kconfig + +if ARCH_MXC + +menu "MXC support drivers" + +source "drivers/mxc/sim/Kconfig" + +endmenu + +endif diff --git a/drivers/mxc/Makefile b/drivers/mxc/Makefile new file mode 100644 index 000000000000..c7ec780235f8 --- /dev/null +++ b/drivers/mxc/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_MXC_SIM) += sim/ diff --git a/drivers/mxc/sim/Kconfig b/drivers/mxc/sim/Kconfig new file mode 100644 index 000000000000..c8ccc47e8643 --- /dev/null +++ b/drivers/mxc/sim/Kconfig @@ -0,0 +1,13 @@ +# +# SIM configuration +# + +menu "MXC SIM Support" + +config MXC_SIM + tristate "MXC SIM support" + default n + ---help--- + Say Y to get MXC SIM support. + +endmenu diff --git a/drivers/mxc/sim/Makefile b/drivers/mxc/sim/Makefile new file mode 100644 index 000000000000..11796e95a956 --- /dev/null +++ b/drivers/mxc/sim/Makefile @@ -0,0 +1,5 @@ +# +# Makefile for the i.MX SIM driver +# + +obj-$(CONFIG_MXC_SIM) += imx_sim.o -- cgit v1.2.3