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