summaryrefslogtreecommitdiff
path: root/package/openocd/openocd.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-02 21:05:47 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-02 21:05:47 +0100
commit2b81a500f923a97e7a27c5c50466c23438fd5527 (patch)
treefcea9e06609f09c6bb2f0726d0d8b157c278bd97 /package/openocd/openocd.mk
parent375d68d110a0548aff7a7e54b65bbb92051911ff (diff)
openocd: fix libftdi dependency if _FT2XXX option is selected
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openocd/openocd.mk')
-rw-r--r--package/openocd/openocd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index d79b33b70..a12ba6c8c 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -19,6 +19,7 @@ OPENOCD_DEPENDENCIES = libusb-compat
# Adapters
ifeq ($(BR2_PACKAGE_OPENOCD_FT2XXX),y)
OPENOCD_CONF_OPT += --enable-ft2232_libftdi
+OPENOCD_DEPENDENCIES += libftdi
endif
ifeq ($(BR2_PACKAGE_OPENOCD_JLINK),y)