[oe-commits] Richard Purdie : native.bbclass: Fix for packages using autotools_stage_all directly

git version control git at git.openembedded.org
Wed Nov 4 15:11:20 UTC 2009


Module: openembedded.git
Branch: rpurdie/work-in-progress
Commit: 1905d572a9d3b17508214ca899d1bf0e9e4fa326
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1905d572a9d3b17508214ca899d1bf0e9e4fa326

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Wed Nov  4 15:09:23 2009 +0000

native.bbclass: Fix for packages using autotools_stage_all directly

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>

---

 classes/native.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/native.bbclass b/classes/native.bbclass
index 7f7697a..f01aba3 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -83,7 +83,7 @@ PKG_CONFIG_SYSROOT_DIR = ""
 python __anonymous () {
     # If we've a legacy native do_stage, we need to neuter do_install
     stagefunc = bb.data.getVar('do_stage', d, True)
-    if stagefunc.strip() != "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
+    if (stagefunc.strip() != "do_stage_native" and stagefunc.strip() != "autotools_stage_all") and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
         bb.data.setVar("do_install", "      :", d)
 }
 





More information about the Openembedded-commits mailing list