Skip to contentSkip to conversation

staging: rtl8192u: do not use undefined $(TOPDIR) in Makefile

PATCH New Nicolas Iooss 1 participant 1 message Sep 3, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8192u: do not use undefined $(TOPDIR) in Makefile

drivers/staging/rtl8192u/ieee80211/Makefile uses $(TOPDIR) to configure an include directory, without defining this variable first. The path which is configured is therefore "/drivers/net/wireless", which does not seem to be the intended path.

Remove the offending line.

---
 drivers/staging/rtl8192u/ieee80211/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/Makefile +1 -2
index b5d0c2eb045b..9e3f432e5355 100644
@@ -1,7 +1,6 @@
 NIC_SELECT = RTL8192U
 
-ccflags-y := -I$(TOPDIR)/drivers/net/wireless
-ccflags-y += -O2
+ccflags-y := -O2
 ccflags-y += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX
 
 ieee80211-rsl-objs := ieee80211_rx.o \
Signature · 1 line
2.9.3