[oe] [PATCH] Re: task-slugos-toolchain-target: Add libstdc++-dev for C++ headers, bump PR

Mike (mwester) mwester at dls.net
Mon Apr 6 04:03:04 UTC 2009


Tom Rini wrote:
> After checking with mwester, this is the correct thing to do.
> ---
> 
> task-slugos-toolchain-target: Add libstdc++-dev for C++ heades, bump PR
> 
> ---
>  recipes/tasks/task-slugos-toolchain-target.bb |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/tasks/task-slugos-toolchain-target.bb b/recipes/tasks/task-slugos-toolchain-target.bb
> index 489a412..4f9df9b 100644
> --- a/recipes/tasks/task-slugos-toolchain-target.bb
> +++ b/recipes/tasks/task-slugos-toolchain-target.bb
> @@ -2,7 +2,7 @@ DESCRIPTION = "Packages for a standalone SDK or external toolchain"
>  LICENSE = "MIT"
>  ALLOW_EMPTY = "1"
>  
> -PR = "r1"
> +PR = "r2"
>  
>  PACKAGES = "${PN}"
>  
> @@ -18,6 +18,7 @@ RDEPENDS_${PN} = "\
>      libcrypto \
>      openssl-dev \
>      libstdc++ \
> +    libstdc++-dev \
>      "
>  
>  # Not sure if we need these or not...

Thanks!

Per our discussion on IRC, I propose the following patch for this, which
pulls in task-sdk-bare to address the problem you discovered above, as
well as the other things you pointed out.

Do you want to commit the change, or should I?

-Mike (mwester)


diff --git a/recipes/tasks/task-slugos-toolchain-target.bb b/recipes/tasks/task-slugos-toolchain-target.bb
index 489a412..fb0418f 100644
--- a/recipes/tasks/task-slugos-toolchain-target.bb
+++ b/recipes/tasks/task-slugos-toolchain-target.bb
@@ -2,31 +2,21 @@ DESCRIPTION = "Packages for a standalone SDK or external toolchain"
 LICENSE = "MIT"
 ALLOW_EMPTY = "1"

-PR = "r1"
+PR = "r2"

 PACKAGES = "${PN}"

-# Stuff contained in this SDK is largely taken from task-sdk-base.bb.
+DEPENDS = "task-sdk-bare"
+
 # This is a starting point, and nothing more at present -- please fill
 # this out with a reasonable set of development tools for a SlugOS image.
 # Also feel free to remove stuff that's silly.

 RDEPENDS_${PN} = "\
-    libgcc \
+    task-sdk-bare \
     linux-libc-headers-dev \
     libssl \
     libcrypto \
     openssl-dev \
-    libstdc++ \
-    "
-
-# Not sure if we need these or not...
-NOT_SURE_ABOUT = "\
-    libsegfault \
-    "
-
-# This one needs further investigation; seems to be some sort
-# of naming problem that breaks the SDK when it is added directly.
-ODDLY_BROKEN_PACKAGES ="\
-    libz-dev \
+    zlib-dev \
     "




More information about the Openembedded-devel mailing list