aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-31 13:08:33 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-04 12:30:27 +0100
commit2fa495892bc9c7ad7c492e64c25bbf458619271b (patch)
treeec24eecb0db9423fa64d681bd7115e58667f667c /drivers/staging/rtl8192u/Makefile
parentstaging: comedi: comedi_fops.c: Remove redundant blank line (diff)
downloadlinux-dev-2fa495892bc9c7ad7c492e64c25bbf458619271b.tar.xz
linux-dev-2fa495892bc9c7ad7c492e64c25bbf458619271b.zip
staging: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consistent, and finally get rid of the gross hacks. Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 ("kbuild: do not drop -I without parameter"). [1]: https://patchwork.kernel.org/patch/9632347/ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/Makefile')
-rw-r--r--drivers/staging/rtl8192u/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/Makefile b/drivers/staging/rtl8192u/Makefile
index 3022728a364c..dcd51bf4aed3 100644
--- a/drivers/staging/rtl8192u/Makefile
+++ b/drivers/staging/rtl8192u/Makefile
@@ -7,7 +7,7 @@ ccflags-y += -O2
ccflags-y += -DCONFIG_FORCE_HARD_FLOAT=y
ccflags-y += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX
ccflags-y += -DTHOMAS_BEACON -DTHOMAS_TASKLET -DTHOMAS_SKB -DTHOMAS_TURBO
-ccflags-y += -Idrivers/staging/rtl8192u/ieee80211
+ccflags-y += -I $(srctree)/$(src)/ieee80211
r8192u_usb-y := r8192U_core.o r8180_93cx6.o r8192U_wx.o \
r8190_rtl8256.o r819xU_phy.o r819xU_firmware.o \