public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Luke Diamand <luke@diamand.org>
To: taehee Park <thpark19@gmail.com>
Cc: elfutils-devel@sourceware.org
Subject: Re: Openwrt porting
Date: Sun, 24 Dec 2023 10:19:43 +0000	[thread overview]
Message-ID: <f8bc3dccb81b7442e4e8cb2f0c556095@diamand.org> (raw)
In-Reply-To: <CAOyA_Vtjzujx3bvhKQ+pD7wfTGL6OfRKt+u0AumGyW+c=SEirw@mail.gmail.com>

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


      reply	other threads:[~2023-12-24 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-24  7:12 taehee Park
2023-12-24 10:19 ` Luke Diamand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8bc3dccb81b7442e4e8cb2f0c556095@diamand.org \
    --to=luke@diamand.org \
    --cc=elfutils-devel@sourceware.org \
    --cc=thpark19@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).