libunwind: update to 1.8.1
[openadk.git] / package / stlink / Makefile
bloba5c51d7f3db8f2f13d53c206915cf0c6e1f1887e
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:= stlink
7 PKG_VERSION:= 04dc7ead42f99d80696cd12496ee2299428675e7
8 PKG_RELEASE:= 1
9 PKG_DESCR:= st flash utility
10 PKG_SECTION:= dev/tools
11 HOST_BUILDDEP:= cmake-host
12 PKG_SITES:= https://github.com/texane/stlink.git
14 PKG_CFLINE_STLINK:= depends on ADK_HOST_ONLY
16 include $(ADK_TOPDIR)/mk/host.mk
17 include $(ADK_TOPDIR)/mk/package.mk
19 $(eval $(call HOST_template,STLINK,stlink,$(PKG_VERSION)-${PKG_RELEASE}))
21 HOST_STYLE:= cmake
23 host-build:
24 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
25 ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
27 hostpost-install:
28 (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
29 DESTDIR=$(STAGING_HOST_DIR) ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET})
31 include ${ADK_TOPDIR}/mk/host-bottom.mk
32 include ${ADK_TOPDIR}/mk/pkg-bottom.mk