summaryrefslogtreecommitdiff
path: root/package/libusb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-03 21:38:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-03 21:39:21 +0100
commit028fb64dd208be17cd8e6a35e24979c601d9fa18 (patch)
tree9d2183a3c044e7804cc71ec1dd0711008cffda27 /package/libusb/Makefile
parenta45c4774db69b6253fcec57937dee05bd34f8b17 (diff)
openocd: update to 0.10.0-rc1
Diffstat (limited to 'package/libusb/Makefile')
-rw-r--r--package/libusb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libusb/Makefile b/package/libusb/Makefile
index f6616ec11..20ce07b40 100644
--- a/package/libusb/Makefile
+++ b/package/libusb/Makefile
@@ -16,15 +16,19 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+include ${ADK_TOPDIR}/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBUSB,libusb,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBUSB,libusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CPPFLAGS= -DTIMESPEC_TO_TIMEVAL=
+HOST_CONFIGURE_ARGS+= --disable-udev
CONFIGURE_ARGS+= --disable-udev
libusb-install:
${INSTALL_DIR} ${IDIR_LIBUSB}/usr/lib
${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB}/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk