summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch
blob: c44f01ab8d75f69c780adb49611139e3d37d1312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 230acf40ab9ed8ab5f291ff6644160b3f3859d69 Mon Sep 17 00:00:00 2001
From: Adrian Alonso <aalonso00@gmail.com>
Date: Fri, 15 Jun 2012 00:46:28 -0500
Subject: [PATCH] Makefile.am remove prefixed include path

* Remove prefixed include path, use ${STAGING_INCDIR}
  to locate drm headers.

Upstream-Status: Pending

Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 820278b..4acdf6a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,7 +50,7 @@ VIVSRC_CFLAGS = \
        -I./vivante_util \
        -I./vivante_exa
 
-AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) -I/usr/include/drm
+AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) ${CFLAGS}
 vivante_drv_la_LTLIBRARIES = vivante_drv.la
 vivante_drv_la_LDFLAGS = -module -avoid-version
 vivante_drv_ladir = @moduledir@/drivers
-- 
1.7.7.6