python3: update to 3.11.10
[openadk.git] / package / openocd / Makefile
blob078353c39577ff57a04fb20ca39147d75ac4c885
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= openocd
7 PKG_VERSION:= 0.12.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa
10 PKG_DESCR:= jtag flash and debugging utility
11 PKG_SECTION:= dev/tools
12 HOST_BUILDDEP:= libusb-host
13 PKG_URL:= http://openocd.org/
14 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openocd/}
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
18 PKG_CFLINE_OPENOCD:= depends on ADK_HOST_ONLY
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,OPENOCD,openocd,$(PKG_VERSION)-${PKG_RELEASE}))
25 HOST_STYLE:= auto
26 HOST_CFLAGS+= -I$(STAGING_HOST_DIR)/usr/include/libusb-1.0
27 HOST_CONFIGURE_ARGS+= --with-jim-shared=no \
28 --disable-shared
30 openocd-hostinstall:
31 cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
32 ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
34 include ${ADK_TOPDIR}/mk/host-bottom.mk
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk