The debian package build method uses a build directory different from
the source directory. Because of generated headers in include/, the
compilation for debian packages failed.

Signed-off-by: Lionel Landwerlin <lionel.landwer...@openwide.fr>
---
 gfxdrivers/pxa3xx/Makefile.am |    1 +
 gfxdrivers/sh772x/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gfxdrivers/pxa3xx/Makefile.am b/gfxdrivers/pxa3xx/Makefile.am
index a762d73..477a67f 100644
--- a/gfxdrivers/pxa3xx/Makefile.am
+++ b/gfxdrivers/pxa3xx/Makefile.am
@@ -1,6 +1,7 @@
 ## Makefile.am for DirectFB/gfxdrivers/pxa3xx
 
 INCLUDES = \
+       -I$(top_builddir)/include       \
        -I$(top_srcdir)/include         \
        -I$(top_builddir)/lib           \
        -I$(top_srcdir)/lib             \
diff --git a/gfxdrivers/sh772x/Makefile.am b/gfxdrivers/sh772x/Makefile.am
index 462aa03..fdda8bb 100644
--- a/gfxdrivers/sh772x/Makefile.am
+++ b/gfxdrivers/sh772x/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = \
        kernel-module/Makefile
 
 INCLUDES = \
+       -I$(top_builddir)/include       \
        -I$(top_srcdir)/include         \
        -I$(top_builddir)/lib           \
        -I$(top_srcdir)/lib             \
-- 
1.6.3.3



_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to