Skip to content

Commit 264a310

Browse files
jason77-wangpelwell
authored andcommitted
rtl8192cu: Let it support to build in the non-src folder
If we build the kernel with "-O=$non-src-folder", this driver will introdcue a building error because of the header's location. Signed-off-by: Hui Wang <[email protected]>
1 parent 916bca0 commit 264a310

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/realtek/rtl8192cu

1 file changed

+1
-1
lines changed

drivers/net/wireless/realtek/rtl8192cu/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ EXTRA_CFLAGS += -Wno-unused
1616

1717
EXTRA_CFLAGS += -Wno-uninitialized
1818

19-
EXTRA_CFLAGS += -I$(src)/include
19+
EXTRA_CFLAGS += -I$(srctree)/$(src)/include
2020

2121
CONFIG_AUTOCFG_CP = n
2222

0 commit comments

Comments
 (0)