build: fix broken ftd2xx bus blaster
If configure is executed without --enable-ft2232_ftd2xx then the bus blaster or presto will fail to build with unresolved external ftd2xx_status_string. Make sure we run the ftd2xx build test if --enable-usb_blaster_ftd2xx is enabled. Change-Id: I09d270d6fcd083d77f6785b8969d9acb3dfef11d Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/892 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
committed by
Peter Stuge
parent
c9d9573c29
commit
bd5f5c6a66
@@ -22,7 +22,7 @@
|
||||
#ifndef _FTD2XX_COMMON_H
|
||||
#define _FTD2XX_COMMON_H
|
||||
|
||||
#if BUILD_FT2232_FTD2XX == 1
|
||||
#if ((BUILD_FT2232_FTD2XX == 1) || (BUILD_PRESTO_FTD2XX == 1) || (BUILD_USB_BLASTER_FTD2XX == 1))
|
||||
#include <ftd2xx.h>
|
||||
|
||||
static const char *ftd2xx_status_string(FT_STATUS status)
|
||||
|
||||
Reference in New Issue
Block a user