diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:31:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:40:39 +0100 |
commit | 39e469cfdbddf5bad10486ca43114bfab907c1b9 (patch) | |
tree | f7a3e2bd777e13c0e3b8eb2b8eb30da8c3ea4d71 /meta/classes | |
parent | 0c28d5b23ce8d8655d95db32eb0796df1b420a11 (diff) | |
download | poky-39e469cfdbddf5bad10486ca43114bfab907c1b9.tar.gz |
base.bbclass: Create a BASEDEPENDS variable other classes can use to add to the base dependencies, avoiding native/nativesdk issues
(From OE-Core rev: fe2f1e1708e34758c70db37ce480453e10fc4eb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 4f20bc22d2..3b83e42bf6 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -89,9 +89,11 @@ def base_dep_prepend(d): | |||
89 | deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " | 89 | deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " |
90 | return deps | 90 | return deps |
91 | 91 | ||
92 | DEPENDS_prepend="${@base_dep_prepend(d)} " | 92 | BASEDEPENDS = "${@base_dep_prepend(d)}" |
93 | DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " | 93 | |
94 | DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " | 94 | DEPENDS_prepend="${BASEDEPENDS} " |
95 | DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " | ||
96 | DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " | ||
95 | 97 | ||
96 | FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" | 98 | FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" |
97 | # THISDIR only works properly with imediate expansion as it has to run | 99 | # THISDIR only works properly with imediate expansion as it has to run |