diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-27 11:11:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-27 11:11:33 +0200 |
commit | f7764067f70d552ea666d2a2e663ffcee92dbaa9 (patch) | |
tree | a7dfa700ce4b3700a4bf5ca6f0005e65473d7760 | |
parent | 25e6ae36b5cfaf7d3cd6751211bd2eb3026a3186 (diff) |
add patchelf utility
-rw-r--r-- | package/patchelf/Makefile | 30 | ||||
-rw-r--r-- | target/config/Config.in.tools | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/package/patchelf/Makefile b/package/patchelf/Makefile new file mode 100644 index 000000000..75f85c9b4 --- /dev/null +++ b/package/patchelf/Makefile @@ -0,0 +1,30 @@ +# 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:= patchelf +PKG_VERSION:= 0.8 +PKG_RELEASE:= 1 +PKG_HASH:= 14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe +PKG_DESCR:= elf manipulation tool +PKG_SECTION:= dev/tools +PKG_DEPENDS:= libstdcxx +PKG_URL:= http://nixos.org/releases/patchelf +PKG_SITES:= http://nixos.org/releases/patchelf/patchelf-0.8/ + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz + +include $(ADK_TOPDIR)/mk/host.mk +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call HOST_template,PATCHELF,patchelf,$(PKG_VERSION)-$(PKG_RELEASE))) +$(eval $(call PKG_template,PATCHELF,patchelf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +patchelf-install: + $(INSTALL_DIR) $(IDIR_PATCHELF)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/patchelf \ + $(IDIR_PATCHELF)/usr/bin + +include $(ADK_TOPDIR)/mk/host-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools index d6f8b1365..901751ff2 100644 --- a/target/config/Config.in.tools +++ b/target/config/Config.in.tools @@ -180,6 +180,10 @@ config ADK_HOST_BUILD_MTD_UTILS default y if ADK_HOST_NEED_MTD_UTILS default n +config ADK_HOST_BUILD_PATCHELF + bool + default n + config ADK_HOST_NEED_SQUASHFS bool default n |