diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile index 5d277d060eba..db88c9d84569 100644 --- a/drivers/gpu/drm/xe/Makefile +++ b/drivers/gpu/drm/xe/Makefile @@ -27,7 +27,7 @@ subdir-ccflags-$(CONFIG_DRM_XE_WERROR) += -Werror # Fine grained warnings disable CFLAGS_xe_pci.o = $(call cc-disable-warning, override-init) -subdir-ccflags-y += -I$(srctree)/$(src) +subdir-ccflags-y += -I$(obj) -I$(srctree)/$(src) # Please keep these build lists sorted!