1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8
10 PKG_DESCR
:= libraries
/utilities to handle elf objects
(drop in replacement for libelf
)
11 PKG_SECTION
:= base
/libs
13 PKG_SITES
:= https
://sourceware.org
/elfutils
/ftp
/$(PKG_VERSION
)/
16 PKG_LIBC_DEPENDS
:= glibc uclibc-ng
18 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,ELFUTILS
,elfutils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
24 # not only because we pass -DNDEBUG, this package won't build with -Werror
25 TARGET_CFLAGS
+= -Wno-error
27 AUTOTOOL_STYLE
:= autoreconf
28 CONFIGURE_ARGS
+= --disable-symbol-versioning \
29 --disable-debuginfod \
30 --disable-libdebuginfod \
35 $(INSTALL_DIR
) $(IDIR_ELFUTILS
)/usr
/lib
/elfutils
36 $(CP
) $(WRKINST
)/usr
/lib
/lib
{asm
,dw
,elf
}*.so
* \
37 $(IDIR_ELFUTILS
)/usr
/lib
39 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk