public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* Openwrt porting
@ 2023-12-24  7:12 taehee Park
  2023-12-24 10:19 ` Luke Diamand
  0 siblings, 1 reply; 2+ messages in thread
From: taehee Park @ 2023-12-24  7:12 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

I think elfutils is very useful in debugging.
But i cant use this in openwrt package.
Because only library is built and utility like eu-stack or eu-readelf not
built
Could someone help  thus?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Openwrt porting
  2023-12-24  7:12 Openwrt porting taehee Park
@ 2023-12-24 10:19 ` Luke Diamand
  0 siblings, 0 replies; 2+ messages in thread
From: Luke Diamand @ 2023-12-24 10:19 UTC (permalink / raw)
  To: taehee Park; +Cc: elfutils-devel

On 2023-12-24 07:12, taehee Park wrote:
> I think elfutils is very useful in debugging.
> But i cant use this in openwrt package.
> Because only library is built and utility like eu-stack or eu-readelf
> not built
> Could someone help  thus?

I don't know anything about openwrt, but quickly looking at the source 
code, it has a patch to suppress building the binaries which does this:

package/libs/elfutils/patches/005-build_only_libs.patch:

  SUBDIRS = config lib libelf libcpu backends libebl libdwelf libdwfl 
libdw \
-         libasm debuginfod src po doc tests
+         libasm

You could try removing that patch, and then updating the install stanza 
to also include the binaries:

https://github.com/openwrt/openwrt/blob/3e738781a9712eaa81d5af0ecc8b55cbfe480c68/package/libs/elfutils/Makefile#L95


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-24 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-24  7:12 Openwrt porting taehee Park
2023-12-24 10:19 ` Luke Diamand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).