|
@@ -13,6 +13,7 @@ comment "Adapters"
|
|
|
config BR2_PACKAGE_OPENOCD_CMSIS_DAP
|
|
|
bool "CMSIS-DAP compliant debuggers"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
@@ -24,6 +25,7 @@ config BR2_PACKAGE_OPENOCD_CMSIS_DAP
|
|
|
config BR2_PACKAGE_OPENOCD_FTDI
|
|
|
bool "MPSSE mode of FTDI based devices"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the MPSSE mode of FTDI
|
|
@@ -32,6 +34,7 @@ config BR2_PACKAGE_OPENOCD_FTDI
|
|
|
config BR2_PACKAGE_OPENOCD_STLINK
|
|
|
bool "ST-Link JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the ST-Link JTAG
|
|
@@ -40,6 +43,7 @@ config BR2_PACKAGE_OPENOCD_STLINK
|
|
|
config BR2_PACKAGE_OPENOCD_TI_ICDI
|
|
|
bool "TI ICDI JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the TI ICDI JTAG
|
|
@@ -48,6 +52,7 @@ config BR2_PACKAGE_OPENOCD_TI_ICDI
|
|
|
config BR2_PACKAGE_OPENOCD_ULINK
|
|
|
bool "Keil ULINK JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the Keil ULINK JTAG
|
|
@@ -56,6 +61,7 @@ config BR2_PACKAGE_OPENOCD_ULINK
|
|
|
config BR2_PACKAGE_OPENOCD_UBLASTER2
|
|
|
bool "Altera USB-Blaster II Compatible"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the Altera USB-Blaster
|
|
@@ -64,6 +70,7 @@ config BR2_PACKAGE_OPENOCD_UBLASTER2
|
|
|
config BR2_PACKAGE_OPENOCD_JLINK
|
|
|
bool "Segger J-Link JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Segger J-Link JTAG Programmer and clone such as Atmel
|
|
@@ -72,6 +79,7 @@ config BR2_PACKAGE_OPENOCD_JLINK
|
|
|
config BR2_PACKAGE_OPENOCD_OSDBM
|
|
|
bool "OSDBM JTAG (only) Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the OSBDM (JTAG only)
|
|
@@ -80,6 +88,7 @@ config BR2_PACKAGE_OPENOCD_OSDBM
|
|
|
config BR2_PACKAGE_OPENOCD_OPENDOUS
|
|
|
bool "eStick/opendous JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the eStick/opendous JTAG
|
|
@@ -89,6 +98,7 @@ config BR2_PACKAGE_OPENOCD_AICE
|
|
|
bool "Andes JTAG Programmer"
|
|
|
depends on BR2_USE_MMU # use fork()
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
help
|
|
|
Enable building support for the Andes JTAG
|
|
@@ -97,6 +107,7 @@ config BR2_PACKAGE_OPENOCD_AICE
|
|
|
config BR2_PACKAGE_OPENOCD_VSLLINK
|
|
|
bool "Versaloon-Link JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT
|
|
|
help
|
|
@@ -106,6 +117,7 @@ config BR2_PACKAGE_OPENOCD_VSLLINK
|
|
|
config BR2_PACKAGE_OPENOCD_USBPROG
|
|
|
bool "USBProg JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT
|
|
|
help
|
|
@@ -115,6 +127,7 @@ config BR2_PACKAGE_OPENOCD_USBPROG
|
|
|
config BR2_PACKAGE_OPENOCD_RLINK
|
|
|
bool "Raisonance RLink JTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT
|
|
|
help
|
|
@@ -124,6 +137,7 @@ config BR2_PACKAGE_OPENOCD_RLINK
|
|
|
config BR2_PACKAGE_OPENOCD_ARMEW
|
|
|
bool "Olimex ARM-JTAG-EW Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT
|
|
|
help
|
|
@@ -143,6 +157,7 @@ config BR2_PACKAGE_OPENOCD_VPI
|
|
|
config BR2_PACKAGE_OPENOCD_UBLASTER
|
|
|
bool "Altera USB-Blaster"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb
|
|
|
select BR2_PACKAGE_LIBFTDI1
|
|
|
help
|
|
|
Enable building support for the Altera USB-Blaster
|
|
@@ -183,6 +198,7 @@ config BR2_PACKAGE_OPENOCD_GW16012
|
|
|
config BR2_PACKAGE_OPENOCD_PRESTO
|
|
|
bool "ASIX Presto Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb
|
|
|
select BR2_PACKAGE_LIBFTDI1
|
|
|
help
|
|
|
Enable building support for ASIX Presto Programmer
|
|
@@ -191,6 +207,7 @@ config BR2_PACKAGE_OPENOCD_PRESTO
|
|
|
config BR2_PACKAGE_OPENOCD_OPENJTAG
|
|
|
bool "OpenJTAG Programmer"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb
|
|
|
select BR2_PACKAGE_LIBFTDI1
|
|
|
select BR2_PACKAGE_LIBUSB
|
|
|
select BR2_PACKAGE_LIBUSB_COMPAT # needs usb.h
|
|
@@ -209,10 +226,11 @@ config BR2_PACKAGE_OPENOCD_SYSFS
|
|
|
Enable building support for programming driven via
|
|
|
sysfs gpios.
|
|
|
|
|
|
-# Many adapters need libusb or libusb-compat, which require threads,
|
|
|
-# but we don't want to duplicate this comment for all adapters that
|
|
|
-# select libusb or libusb-compat.
|
|
|
-comment "many openocd adapters needs a toolchain w/ threads"
|
|
|
- depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
+# Many adapters need libusb or libusb-compat, which require threads and
|
|
|
+# gcc >= 4.9 but we don't want to duplicate this comment for all
|
|
|
+# adapters that select libusb or libusb-compat.
|
|
|
+comment "many openocd adapters needs a toolchain w/ threads, gcc >= 4.9"
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
|
endif # BR2_PACKAGE_OPENOCD
|