directfb: Fix case where ${B} != ${S}

Add patch to allow out of tree builds to work.

(From OE-Core rev: 15d7fe81bf3c52a14bfdd6a8a854836c8571e14f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-21 14:27:18 +00:00
parent dfc25eb699
commit 29a1c77d21
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Fix out of tree builds
Upstream-Status: Pending
RP 2013/03/21
Index: DirectFB-1.6.1/configure.in
===================================================================
--- DirectFB-1.6.1.orig/configure.in 2013-03-19 01:38:28.174004720 +0000
+++ DirectFB-1.6.1/configure.in 2013-03-21 12:18:10.253113675 +0000
@@ -111,7 +111,7 @@
AC_PATH_TOOL(FLUXCOMP, fluxcomp)
AC_SUBST(FLUXCOMP)
if test -z "$FLUXCOMP"; then
- if ! test -e src/core/CoreDFB.cpp; then
+ if ! test -e $srcdir/src/core/CoreDFB.cpp; then
AC_MSG_ERROR([
*** DirectFB compilation requires fluxcomp ***

View File

@ -6,7 +6,8 @@ PR = "${INC_PR}.2"
DEPENDS += "sysfsutils"
SRC_URI += "file://fix-compilation-with-zlib.patch \
file://rename-no-instrument-function-macro.patch"
file://rename-no-instrument-function-macro.patch \
file://fixsepbuild.patch"
EXTRA_OECONF = "\
--enable-freetype=yes \