4fe8f3974f
Signed-off-by: Wojciech Nizinski <niziak@spox.org> [Thomas: - Add missing dependency on wchar - Rewrap Config.in help text - Add missing "depends on BR2_USE_MMU" on the comment about wchar dependency. - Switch to upstream 0.7.0 version - Replace the hook calling autogen.sh by a hook simply creating the m4 directory, which is what prevented <pkg>_AUTORECONF from working. - Add patch to fix build with uClibc. - Split in separate patches the addition of the host variants of libarchive and libsodium.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
545 B
Makefile
23 lines
545 B
Makefile
#############################################################
|
|
#
|
|
# fwup
|
|
#
|
|
#############################################################
|
|
|
|
FWUP_VERSION = v0.7.0
|
|
FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION))
|
|
FWUP_LICENSE = Apache-2.0
|
|
FWUP_LICENSE_FILES = LICENSE
|
|
FWUP_DEPENDENCIES = libconfuse libarchive libsodium
|
|
FWUP_AUTORECONF = YES
|
|
|
|
define FWUP_ADD_M4_DIR
|
|
mkdir -p $(@D)/m4
|
|
endef
|
|
|
|
FWUP_POST_PATCH_HOOKS += FWUP_ADD_M4_DIR
|
|
HOST_FWUP_POST_PATCH_HOOKS += FWUP_ADD_M4_DIR
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|