diff options
| author | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-11-14 12:09:59 +0100 |
|---|---|---|
| committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2009-11-14 12:09:59 +0100 |
| commit | b32e9132c3b7186605a8f58978bf74dbcf12e1f7 (patch) | |
| tree | 1a77746733e610166d0c0e30f6e1e65ecb74dac9 /classes/native.bbclass | |
| parent | e51de62ba9a8ee53f6df29ab682598348496ee66 (diff) | |
| parent | 2c09164fd4c11832865f18b72f46266b7abffbc7 (diff) | |
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/native.bbclass')
| -rw-r--r-- | classes/native.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass index 6292e4b121..96f9cf1a96 100644 --- a/classes/native.bbclass +++ b/classes/native.bbclass @@ -87,7 +87,12 @@ DEPENDS_virtclass-native ?= "${ORIG_DEPENDS}" 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 stagefunc.strip() != "autotools_stage_all") and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1": + + # For now, force legacy mode for native packages using autotools_stage_all + if (stagefunc.strip() == "autotools_stage_all"): + bb.debug(1, "Forcing legacy staging mode for %s" % bb.data.getVar('FILE', d, 1)) + bb.data.setVar('FORCE_LEGACY_STAGING', "1", d) + elif (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) if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""): |
