[PATCH 2/3] staging: brcm80211: assure drivers build for multi-threaded make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As it turns out the make fails when using -j option. This has been
fixed by using symbolic links to the utils for the fullmac driver.
Verified this is working using -j4 option.

Cc: Brett Rudley <brudley@xxxxxxxxxxxx>
Cc: Henry Ptasinski <henryp@xxxxxxxxxxxx>
Cc: Roland Vossen <rvossen@xxxxxxxxxxxx>
Cc: Dowan Kim <dowan@xxxxxxxxxxxx>
Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx>
---
 drivers/staging/brcm80211/brcmfmac/Makefile    |   14 +++++++-------
 drivers/staging/brcm80211/brcmfmac/aiutils.c   |    1 +
 drivers/staging/brcm80211/brcmfmac/bcmutils.c  |    1 +
 drivers/staging/brcm80211/brcmfmac/bcmwifi.c   |    1 +
 drivers/staging/brcm80211/brcmfmac/hndpmu.c    |    1 +
 drivers/staging/brcm80211/brcmfmac/linux_osl.c |    1 +
 drivers/staging/brcm80211/brcmfmac/sbutils.c   |    1 +
 drivers/staging/brcm80211/brcmfmac/siutils.c   |    1 +
 8 files changed, 14 insertions(+), 7 deletions(-)
 create mode 120000 drivers/staging/brcm80211/brcmfmac/aiutils.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/bcmutils.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/bcmwifi.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/hndpmu.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/linux_osl.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/sbutils.c
 create mode 120000 drivers/staging/brcm80211/brcmfmac/siutils.c

diff --git a/drivers/staging/brcm80211/brcmfmac/Makefile b/drivers/staging/brcm80211/brcmfmac/Makefile
index b3931b0..129ce57 100644
--- a/drivers/staging/brcm80211/brcmfmac/Makefile
+++ b/drivers/staging/brcm80211/brcmfmac/Makefile
@@ -49,13 +49,13 @@ DHDOFILES = \
 	bcmsdh_linux.o	\
 	bcmsdh_sdmmc.o \
 	bcmsdh_sdmmc_linux.o \
-	../util/linux_osl.o \
-	../util/aiutils.o \
-	../util/siutils.o \
-	../util/sbutils.o \
-	../util/bcmutils.o \
-	../util/bcmwifi.o \
-	../util/hndpmu.o
+	linux_osl.o \
+	aiutils.o \
+	siutils.o \
+	sbutils.o \
+	bcmutils.o \
+	bcmwifi.o \
+	hndpmu.o
 
 obj-m += brcmfmac.o
 brcmfmac-objs += $(DHDOFILES)
diff --git a/drivers/staging/brcm80211/brcmfmac/aiutils.c b/drivers/staging/brcm80211/brcmfmac/aiutils.c
new file mode 120000
index 0000000..2bdf766
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/aiutils.c
@@ -0,0 +1 @@
+../util/aiutils.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmutils.c b/drivers/staging/brcm80211/brcmfmac/bcmutils.c
new file mode 120000
index 0000000..086c625
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/bcmutils.c
@@ -0,0 +1 @@
+../util/bcmutils.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmwifi.c b/drivers/staging/brcm80211/brcmfmac/bcmwifi.c
new file mode 120000
index 0000000..c60278d
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/bcmwifi.c
@@ -0,0 +1 @@
+../util/bcmwifi.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/hndpmu.c b/drivers/staging/brcm80211/brcmfmac/hndpmu.c
new file mode 120000
index 0000000..8b53df8
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/hndpmu.c
@@ -0,0 +1 @@
+../util/hndpmu.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/linux_osl.c b/drivers/staging/brcm80211/brcmfmac/linux_osl.c
new file mode 120000
index 0000000..39e040d
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/linux_osl.c
@@ -0,0 +1 @@
+../util/linux_osl.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/sbutils.c b/drivers/staging/brcm80211/brcmfmac/sbutils.c
new file mode 120000
index 0000000..7ec62e4
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/sbutils.c
@@ -0,0 +1 @@
+../util/sbutils.c
\ No newline at end of file
diff --git a/drivers/staging/brcm80211/brcmfmac/siutils.c b/drivers/staging/brcm80211/brcmfmac/siutils.c
new file mode 120000
index 0000000..ef1403f
--- /dev/null
+++ b/drivers/staging/brcm80211/brcmfmac/siutils.c
@@ -0,0 +1 @@
+../util/siutils.c
\ No newline at end of file
-- 
1.7.1


_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux