lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

Makefile: Fix build with KBUILD_OUTPUT by specifying absolute include… #173

Open ivzaen opened 3 years ago

ivzaen commented 3 years ago

Makefile: Specifying KBUILD_OUTPUT directory during kernel build gives kernel build error (include header not found). The construction in Makefile: -I$(src)/include expands to relative path: -Idrivers/net/wireless/realtek/rtl8723bu/include that is incorrect.

Change it to absolute include paths: -I$(srctree)/$(src)/include