From 7bdb65b3109a8256c6052f2cb35a989432f7a508 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Sun, 9 Jan 2022 21:59:46 +0100 Subject: [PATCH] package/avrdude: add support for hidapi If BR2_PACKAGE_HIDAPI is selected, add it to avrdude build dependencies. Signed-off-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/avrdude/avrdude.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/avrdude/avrdude.mk b/package/avrdude/avrdude.mk index 6a8e9074b7..accd92c1d5 100644 --- a/package/avrdude/avrdude.mk +++ b/package/avrdude/avrdude.mk @@ -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