hosted: Updated the build system documentation
This commit is contained in:
parent
a43fe4f5bf
commit
000b05e1eb
|
@ -3,12 +3,14 @@ SYS = $(shell $(CC) -dumpmachine)
|
||||||
CFLAGS += -DENABLE_DEBUG -DPLATFORM_HAS_DEBUG
|
CFLAGS += -DENABLE_DEBUG -DPLATFORM_HAS_DEBUG
|
||||||
CFLAGS +=-I ./target
|
CFLAGS +=-I ./target
|
||||||
|
|
||||||
# Define HOSTED_BMP_ONLY to '0' in order to build the hosted blackmagic
|
# HOSTED_BMP_ONLY, which defaults to 1 on Windows + MacOS and 0 on Linux,
|
||||||
# executable with support for other probes beside BMP. Default HOSTED_BMP_ONLY
|
# defines whether to build Black Magic Debug App for the Black Magic Firmware
|
||||||
# == 1 on Windows makes linking against the libftdi and libusb libraries
|
# only, or whether to include support for other adaptor types including FTDI,
|
||||||
# unnecessary.
|
# and CMSIS-DAP compatible dongles.
|
||||||
# This can be useful to minimize external dependencies, and make building on
|
#
|
||||||
# windows systems easier and is default now.
|
# The benefit of only building for the Black Magic Firmware is a reduced linking
|
||||||
|
# footprint. Specifically no requirement to link against libftdi1, libusb1, or
|
||||||
|
# hidapi (hidapi-hidraw on Linux). This makes building on Windows in particular easier.
|
||||||
ifneq (, $(findstring linux, $(SYS)))
|
ifneq (, $(findstring linux, $(SYS)))
|
||||||
HOSTED_BMP_ONLY ?= 0
|
HOSTED_BMP_ONLY ?= 0
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue