summaryrefslogtreecommitdiff
path: root/package/openocd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-19 18:11:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-19 18:11:47 +0100
commit09ae129e9e97e25ddde0c4acdace8c3c1da32b2b (patch)
tree4191c9cf8f563a647192568c693c13b79620d17d /package/openocd
parent10e7e6eddb7efd545199a5b817dde03130389626 (diff)
add basic bits and bytes for stm32f429 support
Diffstat (limited to 'package/openocd')
-rw-r--r--package/openocd/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/openocd/Makefile b/package/openocd/Makefile
new file mode 100644
index 000000000..fbd5900d7
--- /dev/null
+++ b/package/openocd/Makefile
@@ -0,0 +1,34 @@
+# 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:= openocd
+PKG_VERSION:= 0.9.0
+PKG_RELEASE:= 1
+PKG_HASH:= 837042ac9a156b9363cbffa1fcdaf463bfb83a49331addf52e63119642b5f443
+PKG_DESCR:= jtag flash and debugging utility
+PKG_SECTION:= dev/tools
+PKG_URL:= http://openocd.org/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openocd/}
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+PKG_CFLINE_OPENOCD:= depends on ADK_HOST_ONLY
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,OPENOCD,openocd,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= auto
+
+HOST_CONFIGURE_ARGS+= --with-jim-shared=no \
+ --disable-shared
+
+openocd-hostinstall:
+ cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk