[PATCH 1/5] wil6210: Convert to Kbuild

Vladimir Kondratiev
2014-04-08T08:36:45Z

Convert Makefile -> Kbuild,
to make off-kernel development easier and less intrusive.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
---
drivers/net/wireless/ath/wil6210/Kbuild | 18 ++++++++++++++++++
drivers/net/wireless/ath/wil6210/Makefile | 18 ------------------
2 files changed, 18 insertions(+), 18 deletions(-)
create mode 100644 drivers/net/wireless/ath/wil6210/Kbuild
delete mode 100644 drivers/net/wireless/ath/wil6210/Makefile

diff --git a/drivers/net/wireless/ath/wil6210/Kbuild b/drivers/net/wireless/ath/wil6210/Kbuild
new file mode 100644
index 0000000..c7a3465
--- /dev/null
+++ b/drivers/net/wireless/ath/wil6210/Kbuild
@@ -0,0 +1,18 @@
+obj-$(CONFIG_WIL6210) += wil6210.o
+
+wil6210-y := main.o
+wil6210-y += netdev.o
+wil6210-y += cfg80211.o
+wil6210-y += pcie_bus.o
+wil6210-y += debugfs.o
+wil6210-y += wmi.o
+wil6210-y += interrupt.o
+wil6210-y += txrx.o
+wil6210-y += debug.o
+wil6210-y += rx_reorder.o
+wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
+
+# for tracing framework to find trace.h
+CFLAGS_trace.o := -I$(src)
+
+subdir-ccflags-y += -D__CHECK_ENDIAN__
diff --git a/drivers/net/wireless/ath/wil6210/Makefile b/drivers/net/wireless/ath/wil6210/Makefile
deleted file mode 100644
index c7a3465..0000000
--- a/drivers/net/wireless/ath/wil6210/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-obj-$(CONFIG_WIL6210) += wil6210.o
-
-wil6210-y := main.o
-wil6210-y += netdev.o
-wil6210-y += cfg80211.o
-wil6210-y += pcie_bus.o
-wil6210-y += debugfs.o
-wil6210-y += wmi.o
-wil6210-y += interrupt.o
-wil6210-y += txrx.o
-wil6210-y += debug.o
-wil6210-y += rx_reorder.o
-wil6210-$(CONFIG_WIL6210_TRACING) += trace.o
-
-# for tracing framework to find trace.h
-CFLAGS_trace.o := -I$(src)
-
-subdir-ccflags-y += -D__CHECK_ENDIAN__
--
1.8.3.2