Patchwork buildtools-tarball: Add nativesdk-pseudo to buildtools

login
register
mail settings
Submitter Richard Purdie
Date Aug. 14, 2014, 1:35 p.m.
Message ID <1408023326.22187.105.camel@ted>
Download mbox | patch
Permalink /patch/78225/
State New
Headers show

Comments

Richard Purdie - Aug. 14, 2014, 1:35 p.m.
I was pointing someone at this as a way to get pseudo, only to find it
isn't there. Its a useful tool to have in a standalone environment with
little overhead so lets add it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Hatle - Aug. 14, 2014, 1:53 p.m.
On 8/14/14, 8:35 AM, Richard Purdie wrote:
> I was pointing someone at this as a way to get pseudo, only to find it
> isn't there. Its a useful tool to have in a standalone environment with
> little overhead so lets add it.

This will only add one version of the pseudo wrapper libraries.  If the system 
runnings the SDK is a different native word size (i.e. 32-bit SDK, 64-bit system 
userspace) or the target system has both wordsizes installed, pseudo will not be 
able to intercept calls for the non-SDK word size.

--Mark

> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
> index c54d9e8..6807db3 100644
> --- a/meta/recipes-core/meta/buildtools-tarball.bb
> +++ b/meta/recipes-core/meta/buildtools-tarball.bb
> @@ -42,6 +42,7 @@ TOOLCHAIN_HOST_TASK ?= "\
>       nativesdk-pigz \
>       nativesdk-make \
>       nativesdk-wget \
> +    nativesdk-pseudo \
>       "
>
>   TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}"
>
>

Patch

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index c54d9e8..6807db3 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -42,6 +42,7 @@  TOOLCHAIN_HOST_TASK ?= "\
     nativesdk-pigz \
     nativesdk-make \
     nativesdk-wget \
+    nativesdk-pseudo \
     "
 
 TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}"