diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-01 13:19:12 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-01 13:19:12 +0100 |
commit | f2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch) | |
tree | 72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/elfutils/Makefile | |
parent | dce7d2df8c73896aeef77118fe89fc7e88d035fe (diff) | |
parent | 0943b7422376747a452bda5562c73d673cccbe68 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/elfutils/Makefile')
-rw-r--r-- | package/elfutils/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/elfutils/Makefile b/package/elfutils/Makefile new file mode 100644 index 000000000..825ab10eb --- /dev/null +++ b/package/elfutils/Makefile @@ -0,0 +1,37 @@ +# 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.161 +PKG_RELEASE:= 1 +PKG_HASH:= 570c91a1783fa5386aaa2dfdd08dda1de777c2b63bf3b9c1437d635ffdd7a070 +PKG_DESCR:= libraries/utilities to handle elf objects (drop in replacement for libelf) +PKG_SECTION:= base/libs +PKG_URL:= https://fedorahosted.org/elfutils/ +PKG_SITES:= https://fedorahosted.org/releases/e/l/elfutils/$(PKG_VERSION)/ + +# require argp() +PKG_LIBC_DEPENDS:= glibc + +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 + +elfutils-install: + $(INSTALL_DIR) $(IDIR_ELFUTILS)/usr/lib/elfutils + $(CP) $(WRKINST)/usr/lib/lib{asm,dw,elf}*.so* \ + $(IDIR_ELFUTILS)/usr/lib + $(CP) $(WRKINST)/usr/lib/elfutils/libebl*.so \ + $(IDIR_ELFUTILS)/usr/lib/elfutils + $(INSTALL_DIR) $(IDIR_ELFUTILS)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/* \ + $(IDIR_ELFUTILS)/usr/bin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |