[oe] [PATCH 2/4] base.bbclass: add make-native to default dependencies
Paul Menzel
paulepanter at users.sourceforge.net
Sat Sep 25 08:41:25 UTC 2010
Am Freitag, den 24.09.2010, 15:39 -0400 schrieb Michael Smith:
> This should work around package incompatibilities with whatever version
> of make is installed on the build system.
>
> Signed-off-by: Michael Smith <msmith at cbnco.com>
> ---
> classes/base.bbclass | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/classes/base.bbclass b/classes/base.bbclass
> index b19eb32..60e6bc8 100644
> --- a/classes/base.bbclass
> +++ b/classes/base.bbclass
> @@ -71,7 +71,8 @@ def base_deps(d):
> if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d):
> if (bb.data.getVar('HOST_SYS', d, 1) !=
> bb.data.getVar('BUILD_SYS', d, 1)):
> - deps += " virtual/${TARGET_PREFIX}gcc virtual/libc "
> + deps += (" virtual/${TARGET_PREFIX}gcc virtual/libc "
> + "make-native")
Are the parentheses »()« needed? Is it to prevent using »\« for the line
break?
> elif bb.data.inherits_class('native', d) and \
> bb.data.getVar('PN', d, True) not in \
> ("linux-libc-headers-native", "quilt-native",
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100925/30446626/attachment-0002.sig>
More information about the Openembedded-devel
mailing list