diff options
| author | Phil Blundell <philb@gnu.org> | 2010-03-04 22:51:13 +0000 |
|---|---|---|
| committer | Phil Blundell <philb@gnu.org> | 2010-03-04 22:51:13 +0000 |
| commit | fdf8185913576006aa3c69bd132fb247d0a869bf (patch) | |
| tree | 69fc8d4b276b6ac9ad8198478e8feea6cf9d9693 /classes/base.bbclass | |
| parent | 1ae7c5f36d8a6a94053ba4d7919fb7daf9ff2ae1 (diff) | |
| parent | 78c7106f99efcbabc9ccc00343c87a900644cda3 (diff) | |
Merge branch 'org.openembedded.dev' of new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/base.bbclass')
| -rw-r--r-- | classes/base.bbclass | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 990e75ee14..c083d48d85 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -1155,6 +1155,14 @@ python do_populate_staging () { if legacy: bb.data.setVar("SYSROOT_DESTDIR", "", d) bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True)) + + try: + file = open("%s/legacy-staging.log" % bb.data.getVar("TMPDIR", d, 1), "a") + file.write("%s\n" % bb.data.getVar("FILE", d, True)) + file.close() + except: + pass + if bb.data.getVarFlags('do_stage', d) is None: bb.fatal("This recipe (%s) has a do_stage_prepend or do_stage_append and do_stage now doesn't exist. Please rename this to do_stage()" % bb.data.getVar("FILE", d, True)) lock = bb.utils.lockfile(lockfile) @@ -1332,19 +1340,6 @@ def check_app_exists(app, d): path = data.getVar('PATH', d, 1) return len(which(path, app)) != 0 -def check_gcc3(data): - # Primarly used by qemu to make sure we have a workable gcc-3.4.x. - # Start by checking for the program name as we build it, was not - # all host-provided gcc-3.4's will work. - - gcc3_versions = 'gcc-3.4.6 gcc-3.4.4 gcc34 gcc-3.4 gcc-3.4.7 gcc-3.3 gcc33 gcc-3.3.6 gcc-3.2 gcc32' - - for gcc3 in gcc3_versions.split(): - if check_app_exists(gcc3, data): - return gcc3 - - return False - # Patch handling inherit patch |
