openocd: fix libftdi dependency if _FT2XXX option is selected
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 Feb 2012 20:05:47 +0000 (21:05 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 Feb 2012 20:05:47 +0000 (21:05 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/openocd/openocd.mk

index d79b33b70e4100ea4762a7926c447e59865db38e..a12ba6c8c33dbcd8c839079f85e75d660f274c69 100644 (file)
@@ -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)