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:38:01 +0100 |
commit | fe2f1e1708e34758c70db37ce480453e10fc4eb1 (patch) | |
tree | e37e4bfff357e54790bcfba5d1e3d71e37453c90 /meta/classes/base.bbclass | |
parent | 472c04ed1a8715243de0c5430883bc23d60aca19 (diff) | |
download | openembedded-core-fe2f1e1708e34758c70db37ce480453e10fc4eb1.tar.gz openembedded-core-fe2f1e1708e34758c70db37ce480453e10fc4eb1.tar.bz2 openembedded-core-fe2f1e1708e34758c70db37ce480453e10fc4eb1.tar.xz openembedded-core-fe2f1e1708e34758c70db37ce480453e10fc4eb1.zip |
base.bbclass: Create a BASEDEPENDS variable other classes can use to add to the base dependencies, avoiding native/nativesdk issues
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-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 eafad7e92..540931f17 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " 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)}" # THISDIR only works properly with imediate expansion as it has to run |