fix build error with out-of-tree builds
PATCH 1/1 fix build error with out-of-tree builds
Recently trying to build nouveau.ko out of the kernel tree results in the following error for me (in-kernel builds are fine):
uapi/drm/nouveau_drm.h:30:17: fatal error: drm.h: No such file or directory
This can be fixed by adding include/uapi/drm to the include path.
Signed-off-by Alexandre Courbot <[email protected]>
---
IIUC this problem has already been brought up - it only seems to affect some users. Hopefully this harmless oneliner is acceptable.
drm/nouveau/Kbuild | 1 + 1 file changed, 1 insertion(+)
drm/nouveau/Kbuild +1 -0
@@ -1,4 +1,5 @@ ccflags-y := -Iinclude/drm +ccflags-y += -Iinclude/uapi/drm ccflags-y += -I$(src)/include ccflags-y += -I$(src)/include/nvkm ccflags-y += -I$(src)/nvkm
Signature · 6 lines
2.10.2 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau