Skip to content

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

Open
ivzaen wants to merge 1 commit into
lwfinger:masterfrom
wirenboard:dev/v5.8.9
Open

Makefile: Fix build with KBUILD_OUTPUT by specifying absolute include…#173
ivzaen wants to merge 1 commit into
lwfinger:masterfrom
wirenboard:dev/v5.8.9

Conversation

@ivzaen

@ivzaen ivzaen commented Dec 18, 2020

Copy link
Copy Markdown

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

… paths

Specifying KBUILD_OUTPUT directory during kernel build gives kernel build error.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant