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