* Wimax - Makefile & Kconfig patch
@ 2008-12-21 21:59 Sam Ravnborg
2008-12-22 17:27 ` Inaky Perez-Gonzalez
0 siblings, 1 reply; 2+ messages in thread
From: Sam Ravnborg @ 2008-12-21 21:59 UTC (permalink / raw)
To: Inaky Perez-Gonzalez; +Cc: netdev
Hi Inaky.
Noticed your wimax patchset when I browsed netdev on marc.info.
A few comments:
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index f19acf8..3ac378f 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -262,3 +262,4 @@ obj-$(CONFIG_NIU) += niu.o
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
obj-$(CONFIG_SFC) += sfc/
+obj-y += wimax/
There is no reason to visit this directory if WIMAX is
not enabled so change it to:
obj-$(CONFIG_WIMAX) += wimax/
diff --git a/drivers/net/wimax/i2400m/Kconfig b/drivers/net/wimax/i2400m/Kconfig
new file mode 100644
index 0000000..e977c46
--- /dev/null
+++ b/drivers/net/wimax/i2400m/Kconfig
@@ -0,0 +1,49 @@
+
+config WIMAX_I2400M
+ tristate
+ depends on WIMAX
+ select FW_LOADER
+
Above and in several other spots in the Kconfig
file you mix use of spaces and tabs for ident.
Please use tabs consistent and remember to indent
help text with:
<tab><space><space>
diff --git a/drivers/net/wimax/i2400m/Makefile b/drivers/net/wimax/i2400m/Makefile
new file mode 100644
index 0000000..2e8c15b
--- /dev/null
+++ b/drivers/net/wimax/i2400m/Makefile
@@ -0,0 +1,29 @@
+
+obj-$(CONFIG_WIMAX_I2400M) += i2400m.o
+obj-$(CONFIG_WIMAX_I2400M_USB) += i2400m-usb.o
+obj-$(CONFIG_WIMAX_I2400M_SDIO) += i2400m-sdio.o
+
+i2400m-objs := \
+ control.o \
+ driver.o \
+ fw.o \
+ op-rfkill.o \
+ netdev.o \
+ tx.o \
+ rx.o
It is recommended to use:
i2400m-y := control.o
i2400m-y += driver.o
The important point here is that -y is preferred over -objs.
If you use '\' or '+=' is more personal preferences.
Sam
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-22 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21 21:59 Wimax - Makefile & Kconfig patch Sam Ravnborg
2008-12-22 17:27 ` Inaky Perez-Gonzalez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).