Skip to contentSkip to conversation

autotools: remove ${srcdir} from the includes

PATCH In review Emil Velikov 1 participant 2 messages Mar 17, 2015 – Mar 18, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autotools: remove ${srcdir} from the includes

Already implicitly handled by the compiler.

---
Inspired while cleaning up the very same includes in the Android build.

-Emil

 exynos/Makefile.am    | 1 -
 freedreno/Makefile.am | 1 -
 intel/Makefile.am     | 1 -
 nouveau/Makefile.am   | 1 -
 omap/Makefile.am      | 1 -
 radeon/Makefile.am    | 1 -
 6 files changed, 6 deletions(-)
exynos/Makefile.am +0 -1
index 35bc71f..a9da0ff 100644
@@ -2,7 +2,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/exynos \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
freedreno/Makefile.am +0 -1
index 4482afe..407ab70 100644
@@ -5,7 +5,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/freedreno \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
intel/Makefile.am +0 -1
index ca4ed84..22a45f0 100644
@@ -28,7 +28,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/intel \
 	$(PTHREADSTUBS_CFLAGS) \
 	$(PCIACCESS_CFLAGS) \
 	$(VALGRIND_CFLAGS) \
nouveau/Makefile.am +0 -1
index 7543e43..1ca235d 100644
@@ -4,7 +4,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/nouveau \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm \
 	-DDEBUG
omap/Makefile.am +0 -1
index 0778bdd..d6f5298 100644
@@ -2,7 +2,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/omap \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
radeon/Makefile.am +0 -1
index 4575065..5cca394 100644
@@ -28,7 +28,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/radeon \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
Signature · 6 lines
2.1.3

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 2 lines · Emil Velikov

Already implicitly handled by the compiler.

s/compiler/build system/

Quoted 80 lines

---
Inspired while cleaning up the very same includes in the Android build.

(quoted diff) +0 -1
-Emil
 
 exynos/Makefile.am    | 1 -
 freedreno/Makefile.am | 1 -
 intel/Makefile.am     | 1 -
 nouveau/Makefile.am   | 1 -
 omap/Makefile.am      | 1 -
 radeon/Makefile.am    | 1 -
 6 files changed, 6 deletions(-)
exynos/Makefile.am +0 -1
index 35bc71f..a9da0ff 100644
@@ -2,7 +2,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/exynos \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
freedreno/Makefile.am +0 -1
index 4482afe..407ab70 100644
@@ -5,7 +5,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/freedreno \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
intel/Makefile.am +0 -1
index ca4ed84..22a45f0 100644
@@ -28,7 +28,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/intel \
 	$(PTHREADSTUBS_CFLAGS) \
 	$(PCIACCESS_CFLAGS) \
 	$(VALGRIND_CFLAGS) \
nouveau/Makefile.am +0 -1
index 7543e43..1ca235d 100644
@@ -4,7 +4,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/nouveau \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm \
 	-DDEBUG
omap/Makefile.am +0 -1
index 0778bdd..d6f5298 100644
@@ -2,7 +2,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/omap \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
radeon/Makefile.am +0 -0
index 4575065..5cca394 100644

radeon/Makefile.am AM_CFLAGS = \ · line 33

Quoted 7 lines
radeon/Makefile.am +0 -1
@@ -28,7 +28,6 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/radeon \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel