Files
0xFFFF/INSTALL
T

32 lines
1.0 KiB
Plaintext
Raw Normal View History

Installation instructions:
==========================
2026-10-23 00:13:05 +04:00
To build the flasher you will need gcc, make and libusb-1.0 (version 1.0.16
or newer). Compiler and linker flags for libusb-1.0 are detected by pkg-config;
without it set LIBUSB_CFLAGS and LIBUSB_LIBS manually (see config.mk), e.g.:
$ make LIBUSB_CFLAGS=-I/opt/homebrew/opt/libusb/include/libusb-1.0 \
LIBUSB_LIBS="-L/opt/homebrew/opt/libusb/lib -lusb-1.0"
For crosscompiling to arm you can use scratchbox. But you will probably need
the libusb-1.0.so of the scratchbox environment to the device.
Just type:
$ make
The most interesting targets for make are:
all normal build
install installs into /usr/local by default
2012-11-25 21:18:27 +01:00
uninstall remove installed files
clean clean compilation objects and generated binaries
The installation procedure is quite simple and you can define a new PREFIX
manually from the command line:
$ sudo make install PREFIX=/usr
The default one is /usr/local (not very userfriendly but standards are
standards :P hehe)