Skip to contentSkip to conversation

package/avrdude: add support for hidapi

PATCH Applied yegorslists--- via buildroot 2 participants 2 messages Jan 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/avrdude: add support for hidapi

From: Yegor Yefremov <[email protected]>

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 5bbbc4e8c2..63cc3bbc7e 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
Signature · 6 lines
2.17.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · yegorslists--- via buildroot

From: Yegor Yefremov <[email protected]>

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

Applied to master, thanks.

Regards,
Arnout

Quoted 10 lines
---
  package/avrdude/avrdude.mk | 4 ++++
  1 file changed, 4 insertions(+)
package/avrdude/avrdude.mk +0 -0
index 5bbbc4e8c2..63cc3bbc7e 100644

package/avrdude/avrdude.mk else ifeq ($(BR2_PACKAGE_LIBFTDI),y) · line 37

Quoted 10 lines
package/avrdude/avrdude.mk +4 -0
@@ -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