diff mbox

[libdrm] autotools: remove ${srcdir} from the includes

Message ID 1426634260-27047-1-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov March 17, 2015, 11:17 p.m. UTC
Already implicitly handled by the compiler.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
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(-)

Comments

Emil Velikov March 18, 2015, 10:18 a.m. UTC | #1
On 17/03/15 23:17, Emil Velikov wrote:
> Already implicitly handled by the compiler.
> 
s/compiler/build system/

> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
> ---
> 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(-)
> 
> diff --git a/exynos/Makefile.am b/exynos/Makefile.am
> index 35bc71f..a9da0ff 100644
> --- a/exynos/Makefile.am
> +++ b/exynos/Makefile.am
> @@ -2,7 +2,6 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(VISIBILITY_CFLAGS) \
>  	-I$(top_srcdir) \
> -	-I$(top_srcdir)/exynos \
>  	$(PTHREADSTUBS_CFLAGS) \
>  	-I$(top_srcdir)/include/drm
>  
> diff --git a/freedreno/Makefile.am b/freedreno/Makefile.am
> index 4482afe..407ab70 100644
> --- a/freedreno/Makefile.am
> +++ b/freedreno/Makefile.am
> @@ -5,7 +5,6 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(VISIBILITY_CFLAGS) \
>  	-I$(top_srcdir) \
> -	-I$(top_srcdir)/freedreno \
>  	$(PTHREADSTUBS_CFLAGS) \
>  	-I$(top_srcdir)/include/drm
>  
> diff --git a/intel/Makefile.am b/intel/Makefile.am
> index ca4ed84..22a45f0 100644
> --- a/intel/Makefile.am
> +++ b/intel/Makefile.am
> @@ -28,7 +28,6 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(VISIBILITY_CFLAGS) \
>  	-I$(top_srcdir) \
> -	-I$(top_srcdir)/intel \
>  	$(PTHREADSTUBS_CFLAGS) \
>  	$(PCIACCESS_CFLAGS) \
>  	$(VALGRIND_CFLAGS) \
> diff --git a/nouveau/Makefile.am b/nouveau/Makefile.am
> index 7543e43..1ca235d 100644
> --- a/nouveau/Makefile.am
> +++ b/nouveau/Makefile.am
> @@ -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
> diff --git a/omap/Makefile.am b/omap/Makefile.am
> index 0778bdd..d6f5298 100644
> --- a/omap/Makefile.am
> +++ b/omap/Makefile.am
> @@ -2,7 +2,6 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(VISIBILITY_CFLAGS) \
>  	-I$(top_srcdir) \
> -	-I$(top_srcdir)/omap \
>  	$(PTHREADSTUBS_CFLAGS) \
>  	-I$(top_srcdir)/include/drm
>  
> diff --git a/radeon/Makefile.am b/radeon/Makefile.am
> index 4575065..5cca394 100644
> --- a/radeon/Makefile.am
> +++ b/radeon/Makefile.am
> @@ -28,7 +28,6 @@ AM_CFLAGS = \
>  	$(WARN_CFLAGS) \
>  	$(VISIBILITY_CFLAGS) \
>  	-I$(top_srcdir) \
> -	-I$(top_srcdir)/radeon \
>  	$(PTHREADSTUBS_CFLAGS) \
>  	-I$(top_srcdir)/include/drm
>  
>
diff mbox

Patch

diff --git a/exynos/Makefile.am b/exynos/Makefile.am
index 35bc71f..a9da0ff 100644
--- a/exynos/Makefile.am
+++ b/exynos/Makefile.am
@@ -2,7 +2,6 @@  AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/exynos \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
diff --git a/freedreno/Makefile.am b/freedreno/Makefile.am
index 4482afe..407ab70 100644
--- a/freedreno/Makefile.am
+++ b/freedreno/Makefile.am
@@ -5,7 +5,6 @@  AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/freedreno \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
diff --git a/intel/Makefile.am b/intel/Makefile.am
index ca4ed84..22a45f0 100644
--- a/intel/Makefile.am
+++ b/intel/Makefile.am
@@ -28,7 +28,6 @@  AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/intel \
 	$(PTHREADSTUBS_CFLAGS) \
 	$(PCIACCESS_CFLAGS) \
 	$(VALGRIND_CFLAGS) \
diff --git a/nouveau/Makefile.am b/nouveau/Makefile.am
index 7543e43..1ca235d 100644
--- a/nouveau/Makefile.am
+++ b/nouveau/Makefile.am
@@ -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
diff --git a/omap/Makefile.am b/omap/Makefile.am
index 0778bdd..d6f5298 100644
--- a/omap/Makefile.am
+++ b/omap/Makefile.am
@@ -2,7 +2,6 @@  AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/omap \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm
 
diff --git a/radeon/Makefile.am b/radeon/Makefile.am
index 4575065..5cca394 100644
--- a/radeon/Makefile.am
+++ b/radeon/Makefile.am
@@ -28,7 +28,6 @@  AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(VISIBILITY_CFLAGS) \
 	-I$(top_srcdir) \
-	-I$(top_srcdir)/radeon \
 	$(PTHREADSTUBS_CFLAGS) \
 	-I$(top_srcdir)/include/drm