package/avrdude: add support for hidapi

If BR2_PACKAGE_HIDAPI is selected, add it to avrdude build
dependencies.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yegor Yefremov 2022-01-09 21:59:46 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 53c0c7dd01
commit 7bdb65b310

View File

@ -28,6 +28,10 @@ else ifeq ($(BR2_PACKAGE_LIBFTDI),y)
AVRDUDE_DEPENDENCIES += libftdi
endif
ifeq ($(BR2_PACKAGE_HIDAPI),y)
AVRDUDE_DEPENDENCIES += hidapi
endif
# if /etc/avrdude.conf exists, the installation process creates a
# backup file, which we do not want in the context of Buildroot.
define AVRDUDE_REMOVE_BACKUP_FILE