package/dfu-programmer: new package
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
81cb8b7e10
commit
7988be7eb4
@ -2308,6 +2308,7 @@ F: configs/roseapplepi_defconfig
|
||||
F: configs/sheevaplug_defconfig
|
||||
F: configs/visionfive_defconfig
|
||||
F: package/bats-core/
|
||||
F: package/dfu-programmer/
|
||||
F: package/docker-compose/
|
||||
F: package/dump1090/
|
||||
F: package/fatcat/
|
||||
|
@ -482,6 +482,7 @@ endmenu
|
||||
source "package/dbus-glib/Config.in"
|
||||
source "package/dbus-python/Config.in"
|
||||
source "package/dbus-triggerd/Config.in"
|
||||
source "package/dfu-programmer/Config.in"
|
||||
source "package/dfu-util/Config.in"
|
||||
source "package/dmidecode/Config.in"
|
||||
source "package/dmraid/Config.in"
|
||||
|
17
package/dfu-programmer/Config.in
Normal file
17
package/dfu-programmer/Config.in
Normal file
@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_DFU_PROGRAMMER
|
||||
bool "dfu-programmer"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Dfu-programmer is a multi-platform command-line programmer
|
||||
for Atmel (8051, AVR, XMEGA & AVR32) chips with a USB
|
||||
bootloader supporting ISP. Most Atmel devices having a USB
|
||||
port come pre-programmed with the bootloader, and this is a
|
||||
lightweight alternative to Atmel's own FLIP/BatchISP program.
|
||||
|
||||
http://dfu-programmer.github.io/
|
||||
|
||||
comment "dfu-programmer needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
3
package/dfu-programmer/dfu-programmer.hash
Normal file
3
package/dfu-programmer/dfu-programmer.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 dfu-programmer-1.0.0.tar.gz
|
||||
sha256 d8fb44c26fecbb2b8a368a6c0ed4f5478a401fab03744325407736a80383af76 COPYING
|
21
package/dfu-programmer/dfu-programmer.mk
Normal file
21
package/dfu-programmer/dfu-programmer.mk
Normal file
@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# dfu-programmer
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DFU_PROGRAMMER_VERSION = 1.0.0
|
||||
DFU_PROGRAMMER_SITE = https://github.com/dfu-programmer/dfu-programmer/releases/download/v$(DFU_PROGRAMMER_VERSION)
|
||||
DFU_PROGRAMMER_LICENSE = GPL-2.0+
|
||||
DFU_PROGRAMMER_LICENSE_FILES = COPYING
|
||||
DFU_PROGRAMMER_DEPENDENCIES = libusb
|
||||
|
||||
# No update-bash-completion.sh in tarball. Fix sent upstream:
|
||||
# https://github.com/dfu-programmer/dfu-programmer/pull/91
|
||||
define DFU_PROGRAMMER_ADD_MISSING_FILE
|
||||
ln -s /bin/true $(@D)/update-bash-completion.sh
|
||||
endef
|
||||
|
||||
DFU_PROGRAMMER_POST_PATCH_HOOKS == DFU_PROGRAMMER_ADD_MISSING_FILE
|
||||
|
||||
$(eval $(autotools-package))
|
Loading…
Reference in New Issue
Block a user