Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
drm
0012-drm-Make-all-drivers-use-the-correct-inclu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0012-drm-Make-all-drivers-use-the-correct-include-directo.patch of Package drm
From f2a023a1a20b1f6c48ad35f71d735a9b620f6c49 Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson <pjakobsson@suse.de> Date: Thu, 30 Mar 2017 04:30:31 +0200 Subject: [PATCH 12/12] drm: Make all drivers use the correct include directories Signed-off-by: Patrik Jakobsson <pjakobsson@suse.de> --- drivers/gpu/drm/Makefile | 4 ++++ drivers/gpu/drm/amd/amdkfd/Makefile | 3 +++ drivers/gpu/drm/bridge/Makefile | 2 +- drivers/gpu/drm/radeon/Makefile | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 25c7204..1f16ed2 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -2,6 +2,10 @@ # Makefile for the drm device driver. This driver provides support for the # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. +NOSTDINC_FLAGS += -I$(KBUILD_EXTMOD)/include \ + -I$(KBUILD_EXTMOD)/include/drm \ + -I$(KBUILD_EXTMOD)/include/uapi + drm-y := drm_auth.o drm_bufs.o drm_cache.o \ drm_context.o drm_dma.o \ drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ diff --git a/drivers/gpu/drm/amd/amdkfd/Makefile b/drivers/gpu/drm/amd/amdkfd/Makefile index 7fc9b0f..67c5ec8 100644 --- a/drivers/gpu/drm/amd/amdkfd/Makefile +++ b/drivers/gpu/drm/amd/amdkfd/Makefile @@ -2,6 +2,9 @@ # Makefile for Heterogenous System Architecture support for AMD GPU devices # +NOSTDINC_FLAGS += -I$(KBUILD_EXTMOD)/drivers/gpu/drm/amd/include \ + -I$(KBUILD_EXTMOD)/drivers/gpu/drm/amd/include/asic_reg + ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/ \ -Idrivers/gpu/drm/amd/include/asic_reg diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile index cdf3a3c..7c0c96f 100644 --- a/drivers/gpu/drm/bridge/Makefile +++ b/drivers/gpu/drm/bridge/Makefile @@ -9,4 +9,4 @@ obj-$(CONFIG_DRM_PARADE_PS8622) += parade-ps8622.o obj-$(CONFIG_DRM_SII902X) += sii902x.o obj-$(CONFIG_DRM_TOSHIBA_TC358767) += tc358767.o obj-$(CONFIG_DRM_ANALOGIX_DP) += analogix/ -obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/ +# obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/ diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile index 08bd17d..044389f 100644 --- a/drivers/gpu/drm/radeon/Makefile +++ b/drivers/gpu/drm/radeon/Makefile @@ -2,6 +2,8 @@ # Makefile for the drm device driver. This driver provides support for the # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. +NOSTDINC_FLAGS += -I$(KBUILD_EXTMOD)/drivers/gpu/drm/amd/include + ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include hostprogs-y := mkregtable -- 2.12.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor