Skip to contentSkip to conversation

package/avrdude: add support for hidapi

Buildroot Arnout Vandecappelle (Essensium/Mind) 1 participant 1 message Jan 9, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=7bdb65b3109a8256c6052f2cb35a989432f7a508
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

---
 package/avrdude/avrdude.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/avrdude/avrdude.mk +4 -0
index 6a8e9074b7..accd92c1d5 100644
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot