40c7d10b2b
Fixes: http://autobuild.buildroot.net/results/e2b/e2b813fdcbb3862366609affe88551c3036b21b8/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
844 B
Makefile
26 lines
844 B
Makefile
################################################################################
|
|
#
|
|
# 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
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
DFU_PROGRAMMER_CONF_OPTS += LIBS=-latomic
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|