summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2017-03-27 06:45:50 +0200
committerGogs <gogs@fake.local>2017-03-27 06:45:50 +0200
commitb5c82ea0f4f2d79b1562ad1079957657ef32845a (patch)
tree600582ceee5f4ae5d3ec1b1af7edbec69a5c50cc
parenta7cbbf4605139f1f3d4c9b5e2e3e9564a4606213 (diff)
parent755e2bbbfc2a12fc8f56b9c01ff8c3016ba6d7a8 (diff)
Merge branch 'package-objconv' of ableton-dir/openadk into master
-rw-r--r--package/objconv/Makefile32
-rwxr-xr-xpackage/objconv/objconvbin0 -> 637912 bytes
-rw-r--r--target/config/Config.in.tools5
3 files changed, 37 insertions, 0 deletions
diff --git a/package/objconv/Makefile b/package/objconv/Makefile
new file mode 100644
index 000000000..3f83845b5
--- /dev/null
+++ b/package/objconv/Makefile
@@ -0,0 +1,32 @@
+# 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:= objconv
+PKG_VERSION:= 2.16
+PKG_RELEASE:= 1
+PKG_HASH:= 4190c577ee973ef7895b2498cd4a1f3dd8d7bef31db2a0867a42f9f98614cb78
+PKG_DESCR:= converting object files between COFF/PE, OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms
+PKG_SECTION:= dev/tools
+PKG_SITES:= https://github.com/vertis/objconv/archive/
+DISTFILES:= $(PKG_VERSION).tar.gz
+
+PKG_CFLINE_OBJCONV:= depends on ADK_HOST_ONLY
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,OBJCONV,objconv,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= manual
+
+host-build:
+ $(HOST_CXX) -O2 -o ${WRKBUILD}/objconv ${WRKBUILD}/src/*.cpp
+
+objconv-hostinstall:
+ ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
+ ${INSTALL_BIN} ${WRKBUILD}/objconv ${STAGING_HOST_DIR}/usr/bin
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/objconv/objconv b/package/objconv/objconv
new file mode 100755
index 000000000..0c0deeadd
--- /dev/null
+++ b/package/objconv/objconv
Binary files differ
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 46a73c542..c39916044 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -87,6 +87,11 @@ config ADK_HOST_BUILD_GAWK
default y if ADK_HOST_DARWIN
default n
+config ADK_HOST_BUILD_OBJCONV
+ bool
+ default y if ADK_HOST_DARWIN
+ default n
+
config ADK_HOST_BUILD_GREP
bool
default n