[oe-commits] Richard Purdie : sudo: Fix out of tree builds ${B} != ${S}
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 23 12:56:02 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: a1226175c405db6eacb6e490e8e635b9dd156126
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a1226175c405db6eacb6e490e8e635b9dd156126
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Sat Mar 23 12:45:51 2013 +0000
sudo: Fix out of tree builds ${B} != ${S}
The last change to sudo broke out of tree builds, fix this.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/sudo/sudo.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 9427b57..e778485 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -23,7 +23,7 @@ do_configure_prepend () {
# mksigname/mksiglist are used on build host to generate source files
do_compile_prepend () {
- oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I../include -I../" -C compat mksigname mksiglist
+ oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
}
# Explicitly create ${localstatedir}/lib before do_install to ensure
More information about the Openembedded-commits
mailing list