summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:45:51 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 12:57:54 (GMT)
commit8805fa2a252a9af63ab59019e9079e9d13fd01b2 (patch)
tree7ad672629fe4f92d7f55bc5daaeb01f947afe265
parentb27a0b78a5b1de2ba842cc8baf2a1c13e1a9a1aa (diff)
downloadpoky-8805fa2a252a9af63ab59019e9079e9d13fd01b2.tar.gz
sudo: Fix out of tree builds ${B} != ${S}
The last change to sudo broke out of tree builds, fix this. (From OE-Core rev: a1226175c405db6eacb6e490e8e635b9dd156126) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
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 () {
23 23
24# mksigname/mksiglist are used on build host to generate source files 24# mksigname/mksiglist are used on build host to generate source files
25do_compile_prepend () { 25do_compile_prepend () {
26 oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I../include -I../" -C compat mksigname mksiglist 26 oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
27} 27}
28 28
29# Explicitly create ${localstatedir}/lib before do_install to ensure 29# Explicitly create ${localstatedir}/lib before do_install to ensure