Re: [OE-core] [PATCH v2] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-11-11 Thread Dan Callaghan via lists.openembedded.org
gdb it will be able > to read xz-compressed ELF sections containing debuginfo. This is used by > the "mini debuginfo" format: > https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html > > Signed-off-by: Dan Callaghan > --- > meta/recipes-devtools/gdb/gdb-commo

[OE-core] [PATCH v2] stress-ng: create a symlink for /usr/bin/stress

2020-07-23 Thread Dan Callaghan
that it actually becomes a drop-in replacement for stress. Signed-off-by: Dan Callaghan --- meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb index

Re: [OE-core] [PATCH] stress-ng: create a symlink for /usr/bin/stress

2020-07-23 Thread Dan Callaghan
at case, we would have noticed that the stress recipe had been removed from oe-core and we could have just updated our image accordingly to depend on stress-ng instead. > secondly please use ${D}${bindir}/stress instead of hardcoding the path Oops, yes of course. -- Dan Callaghan Software En

[OE-core] [PATCH] stress-ng: create a symlink for /usr/bin/stress

2020-07-22 Thread Dan Callaghan
that it actually becomes a drop-in replacement for stress. Signed-off-by: Dan Callaghan --- meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.15.bb index

Re: [OE-core] [PATCH] kernel.bbclass: copy some more needed files in do_shared_workdir

2020-04-23 Thread Dan Callaghan
d5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://github.com/opengear/nct5104d-watchdog-driver.git;protocol=https;" SRCREV = "5495f4eaa15bb0b8804778df046f5276d66413ce" PR = "r1" S = "${WORKDIR}/git" inherit module -- Dan Callaghan Software Engineer

Re: [OE-core] [PATCH] kernel.bbclass: copy some more needed files in do_shared_workdir

2020-04-21 Thread Dan Callaghan
Excerpts from Bruce Ashfield's message of 2020-04-21 08:33:34 -04:00: > On Tue, Apr 21, 2020 at 5:37 AM Dan Callaghan > wrote: > > > > We need to copy include/config/auto.conf into ${STAGING_KERNEL_BUILDDIR} > > to avoid module compilation errors like this: > &g

[OE-core] [PATCH] kernel.bbclass: copy some more needed files in do_shared_workdir

2020-04-21 Thread Dan Callaghan
y-kernel-module -c clean bitbake my-kernel-module -c install Signed-off-by: Dan Callaghan --- meta/classes/kernel.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index a724645466..5a49d01aa5 100644 --- a/meta

[OE-core] [PATCH] package.bbclass: inject "minidebuginfo" into packaged binaries

2020-04-19 Thread Dan Callaghan
-injecting the minidebuginfo is my own Python implementation but corresponds directly to the shell implementation that RPM uses for doing the same: https://github.com/rpm-software-management/rpm/blob/rpm-4.15.1-release/scripts/find-debuginfo.sh#L261 Signed-off-by: Dan Callaghan --- meta/classes/packa

[OE-core] [PATCH v2] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-01-20 Thread Dan Callaghan
Similar to elfutils, when xz support is built into gdb it will be able to read xz-compressed ELF sections containing debuginfo. This is used by the "mini debuginfo" format: https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html Signed-off-by: Dan Callaghan --- meta/recipes-de

Re: [OE-core] [PATCH] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-01-20 Thread Dan Callaghan
Excerpts from Richard Purdie's message of 2020-01-21 00:04:53 +00:00: > Is there an extra DEPENDS needed when enabling this? Oops, yes it should really pull in xz. I missed this because xz is already a transitive dependency through something else. Will post a new patch. -- Dan Callag

[OE-core] [PATCH] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-01-20 Thread Dan Callaghan
Similar to elfutils, when xz support is built into gdb it will be able to read xz-compressed ELF sections containing debuginfo. This is used by the "mini debuginfo" format: https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html --- meta/recipes-devtools/gdb/gdb-common.inc | 3 ++- 1 file

Re: [OE-core] [PATCH v3] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-29 Thread Dan Callaghan
Excerpts from Adrian Bunk's message of 2019-10-29 22:18:21 +02:00: > On Wed, Oct 16, 2019 at 08:44:56AM +1000, Dan Callaghan wrote: > > Elfutils has optional support for bzip2 and xz (lzma). It uses > > this for decompressing embedded ELF sections like the .gnu_debugdata > &

[OE-core] [PATCH v3] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-15 Thread Dan Callaghan
he reasons for disabling them seem to no longer apply. Both the target and native variants of elfutils can build successfully against both bzip2 and xz. Signed-off-by: Dan Callaghan --- meta/recipes-devtools/elfutils/elfutils_0.177.bb | 13 ++--- 1 file changed, 10 insertions(+), 3 deletion

Re: [OE-core] [PATCH v2] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-15 Thread Dan Callaghan
using that. It does seem like it would be simpler to just take bzip2-native out of ASSUME_PROVIDED, but I guess leaving it in there lets people avoid building bzip2-native under some circumstances. -- Dan Callaghan Software Engineer Opengear <https://opengear.com/> signature.asc Description: P

Re: [OE-core] [PATCH v2] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-15 Thread Dan Callaghan
Excerpts from Jacob Kroon's message of 2019-10-15 08:59:56 +02:00: > Den 2019-10-15 kl. 08:15, skrev Dan Callaghan: > > @@ -46,8 +46,12 @@ SRC_URI[sha256sum] > > = "fa489deccbcae7d8c920f60d85906124c1989c591196d90e0fd668e3dc > > > > inherit autotools get

[OE-core] [PATCH v2] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-15 Thread Dan Callaghan
he reasons for disabling them seem to no longer apply. Both the target and native variants of elfutils can build successfully against both bzip2 and xz. Signed-off-by: Dan Callaghan --- meta/recipes-devtools/elfutils/elfutils_0.177.bb | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-)

Re: [OE-core] [PATCH] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-15 Thread Dan Callaghan
--with-lzma,--without-lzma,xz" I just realised that the --without-zlib option doesn't make sense, zlib is actually mandatory. And bzip2 should probably be in the default PACKAGECONFIG, because the recipe is currently enabling it for the target (although not for the native variant). -- Dan Callagh

[OE-core] [PATCH] elfutils: add PACKAGECONFIG for compression algorithms

2019-10-14 Thread Dan Callaghan
he reasons for disabling them seem to no longer apply. Both the target and native variants of elfutils can build successfully against all three compression libraries. Signed-off-by: Dan Callaghan --- meta/recipes-devtools/elfutils/elfutils_0.177.bb | 9 +++-- 1 file changed, 7 insertions(+), 2

[OE-core] [PATCH] grub does not require freetype

2019-09-15 Thread Dan Callaghan
Freetype is only needed for the grub-mkfont utility, but that is disabled at configure time by passing --disable-grub-mkfont. --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 2 +- meta/recipes-bsp/grub/grub_2.04.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH] autotools: always include config_site.d files in CONFIG_SITE

2019-08-04 Thread Dan Callaghan
Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13375 Signed-off-by: Dan Callaghan --- meta/classes/autotools.bbclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 8768a6ad68..3d22ad0255