Change most in-tree references from SVN to GIT.
[openocd.git] / testing / build.test1 / Makefile.libusb
1 # -*- mode: makefile -*-
2 default: _complain_
3
4 include ./local.uses
5
6 ifeq (x"$BUILD_SYSNAME",x"cygwin")
7 $(error Please use the Win32 specific port of LibUSB not the Unix version)
8 endif
9 ifeq (x"$BUILD_SYSNAME",x"mingw32")
10 $(error Please use the win32 specific port of LibUSB not the Unix version)
11 endif
12
13 TARFILE_LOCAL = ${VIRGINS}/libusb-${LIBUSB_VERSION_linux}.tar.bz2
14 TARFILE_URL = http://downloads.sourceforge.net/libusb/libusb-${LIBUSB_VERSION_linux}.tar.gz
15
16 LIBUSB_SRC_DIR = ${HERE}/libusb-${LIBUSB_VERSION}
17 LIBUSB_BUILD_DIR = ${HERE}/libusb-build
18
19 download:
20 wget -O ${TARFILE_LOCAL} ${TARFILE_URL}
21
22 unpack:
23 rm -rf ${LIBUSB_SRC_DIR}
24 tar xfz ${TARFILE_LOCAL}
25
26 clean::
27 rm -rf ${LIBUSB_SRC_DIR}
28
29 configure:
30 rm -rf ${LIBUSB_BUILD_DIR}
31 mkdir -p ${LIBUSB_BUILD_DIR}
32 cd ${LIBUSB_BUILD_DIR} && ${LIBUSB_SRC_DIR}/configure \
33 --prefix=${PREFIX} --exec-prefix=${EXEC_PREFIX}
34
35 clean::
36 rm -rf ${LIBUSB_BUILD_DIR}
37
38 build:
39 cd ${LIBUSB_BUILD_DIR} && ${MAKE}
40
41 install:
42 cd ${LIBUSB_BUILD_DIR} && ${MAKE} install
43
44 all: unpack configure build install
45
46 .PHONY: install
47
48 _complain_:
49 @echo ""
50 @echo "Please try one of these targets: bootstrap, clean, configure, build, install"
51 @echo " Or read the makefile and learn about the permutation test targets"
52 @echo ""
53 @echo "You also might find the download and unpack targets helpful."
54 @echo ""
55 @exit 1

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)