Patchwork [1/3] crosstool-ng: Fixed RDEPENDS for ltrace

login
register
mail settings
Submitter Kim Bøndergaard
Date Oct. 4, 2013, 5:52 a.m.
Message ID <cc5422ef54e3f7988d9f9b508fb26e6fb4f41bc0.1380865838.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/280468/
State Changes Requested
Delegated to: Esben Haabendal
Headers show

Comments

Kim Bøndergaard - Oct. 4, 2013, 5:52 a.m.
---
 recipes/crosstool-ng/gcc-package.inc | 2 ++
 1 file changed, 2 insertions(+)
Esben Haabendal - Oct. 14, 2013, 2:19 p.m.
Kim Bøndergaard <kibo@prevas.dk> writes:

> ---
>  recipes/crosstool-ng/gcc-package.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes/crosstool-ng/gcc-package.inc b/recipes/crosstool-ng/gcc-package.inc
> index 6befe9c..a0e8f2c 100644
> --- a/recipes/crosstool-ng/gcc-package.inc
> +++ b/recipes/crosstool-ng/gcc-package.inc
> @@ -41,6 +41,8 @@ DEPENDS_${PN}-g++ = "target:${PN}-sysroot-c++-dev"
>  RDEPENDS_${PN}-gdb = "host:libncurses host:libdl"
>  RDEPENDS_${PN}-gdb:HOST_OS_mingw32 = ""
>  
> +RDEPENDS_${PN}-sysroot-ltrace		= "${PN}-sysroot-garbage"

Hehe.  As the name suggests, I am not 100% proud of that part of the
gcc packaging :)

Could you find out what files you need, and split them into a new
package, and give it a nice name.  Even better, figure out what to do
with all the remaining garbage, so we can remove this package
completely...

> +
>  DEPENDS_${PN}-sysroot-libnss-dns	= "${PN}-sysroot-libresolv"
>  RDEPENDS_${PN}-sysroot-libnss-dns	= "${PN}-sysroot-libresolv"
>  DEPENDS_${PN}-sysroot-librt-dev		= "${PN}-sysroot-libpthread-dev"

/Esben

Patch

diff --git a/recipes/crosstool-ng/gcc-package.inc b/recipes/crosstool-ng/gcc-package.inc
index 6befe9c..a0e8f2c 100644
--- a/recipes/crosstool-ng/gcc-package.inc
+++ b/recipes/crosstool-ng/gcc-package.inc
@@ -41,6 +41,8 @@  DEPENDS_${PN}-g++ = "target:${PN}-sysroot-c++-dev"
 RDEPENDS_${PN}-gdb = "host:libncurses host:libdl"
 RDEPENDS_${PN}-gdb:HOST_OS_mingw32 = ""
 
+RDEPENDS_${PN}-sysroot-ltrace		= "${PN}-sysroot-garbage"
+
 DEPENDS_${PN}-sysroot-libnss-dns	= "${PN}-sysroot-libresolv"
 RDEPENDS_${PN}-sysroot-libnss-dns	= "${PN}-sysroot-libresolv"
 DEPENDS_${PN}-sysroot-librt-dev		= "${PN}-sysroot-libpthread-dev"