diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index 1ccef572da..86bfec40cc 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -11,8 +11,8 @@ FLASHROM_LICENSE = GPL-2.0+ FLASHROM_LICENSE_FILES = COPYING FLASHROM_MAKE_OPTS = WARNERROR=no -ifeq ($(BR2_PACKAGE_LIBFTDI),y) -FLASHROM_DEPENDENCIES += host-pkgconf libftdi +ifeq ($(BR2_PACKAGE_LIBFTDI1),y) +FLASHROM_DEPENDENCIES += host-pkgconf libftdi1 FLASHROM_MAKE_OPTS += \ CONFIG_FT2232_SPI=yes \ CONFIG_USBBLASTER_SPI=yes