--- amd/amdgpu/Makefile +++ amd/amdgpu/Makefile @@ -1261,7 +1261,8 @@ SRCS+= amd_powerplay.c \ SRCS+= amdgpu_pmu.c .endif -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ vnode_if.h \ bus_if.h \ pci_if.h \ --- amd/amdkfd/Makefile +++ amd/amdkfd/Makefile @@ -39,7 +39,8 @@ SRCS = \ kfd_queue.c #\ # kfd_topology.c -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ vnode_if.h \ bus_if.h \ pci_if.h \ --- dmabuf/Makefile +++ dmabuf/Makefile @@ -18,7 +18,8 @@ SRCS= dma-buf-kmod.c \ dma-resv.c \ sync_file.c -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ bus_if.h \ vnode_if.h --- drm/Makefile +++ drm/Makefile @@ -155,7 +155,8 @@ SRCS+= drm_client.c \ SRCS+= drm_client_setup.c .endif -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ vnode_if.h \ bus_if.h \ pci_if.h \ --- dummygfx/Makefile +++ dummygfx/Makefile @@ -14,6 +14,7 @@ SRCS= \ dummygfx_debugfs.c SRCS += \ + ${LINUXKPI_GENSRCS} \ opt_acpi.h \ opt_drm.h \ opt_platform.h \ --- i915/Makefile +++ i915/Makefile @@ -353,6 +353,7 @@ SRCS+= i915_hwmon.c # intel_lpe_audio.c # Need platform and irq_chip support SRCS += \ + ${LINUXKPI_GENSRCS} \ opt_acpi.h \ opt_drm.h \ opt_syscons.h \ --- linuxkpi_video/Makefile +++ linuxkpi_video/Makefile @@ -20,7 +20,8 @@ SRCS+= aperture.c SRCS+= cmdline.c .endif -SRCS+= bus_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + bus_if.h \ device_if.h \ pci_if.h \ vnode_if.h \ --- radeon/Makefile +++ radeon/Makefile @@ -115,7 +115,8 @@ SRCS+= opt_acpi.h \ radeon_acpi.c .endif -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ vnode_if.h \ bus_if.h \ pci_if.h \ --- ttm/Makefile +++ ttm/Makefile @@ -26,7 +26,8 @@ SRCS= ttm_bo.c \ SRCS+= ttm_agp_backend.c .endif -SRCS+= device_if.h \ +SRCS+= ${LINUXKPI_GENSRCS} \ + device_if.h \ vnode_if.h \ bus_if.h \ pci_if.h \