diff options
| author | Thomas Kunze <thommycheck@gmx.de> | 2008-03-02 19:55:55 +0000 |
|---|---|---|
| committer | Thomas Kunze <thommycheck@gmx.de> | 2008-03-02 19:55:55 +0000 |
| commit | 0e96be7f834f3264594c8e21b3fe5ee69c296486 (patch) | |
| tree | 0430eb0baac708cbd7dbfbf24f00fcb64219d29b /classes/mono.bbclass | |
| parent | 2a98e2a2c1b55a0eb0ac09f2f9b55db2e4c23553 (diff) | |
| parent | bd607171760c733930b955f591e156717651fc1f (diff) | |
merge of '16882b53b725e8d7bfbf2d2909cfbf1f3a8a90fc'
and '55956ba3628054539f1f1f6c44ab7108d48f8b32'
Diffstat (limited to 'classes/mono.bbclass')
| -rw-r--r-- | classes/mono.bbclass | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/classes/mono.bbclass b/classes/mono.bbclass index ccb16d9acc..cf8dd15bdf 100644 --- a/classes/mono.bbclass +++ b/classes/mono.bbclass @@ -52,6 +52,8 @@ def mono_find_provides_and_requires(files, d): requires = [e for e in requires if not e in provides] return provides, requires +CLILIBSDIR = "${STAGING_DIR_HOST}/clilibs" + python mono_do_clilibs() { import bb, os, re, os.path @@ -70,14 +72,9 @@ python mono_do_clilibs() { bb.error("WORKDIR not defined") return - staging = bb.data.getVar('STAGING_DIR', d, 1) - if not staging: - bb.error("STAGING_DIR not defined") - return - pkgdest = bb.data.getVar('PKGDEST', d, 1) - clilibs_dir = os.path.join(staging, "clilibs") + clilibs_dir = bb.data.getVar('CLILIBSDIR', d, 1) bb.mkdirhier(clilibs_dir) provides, requires = {}, {} |
