2b397c22fc
Touch ar-lib as suggested by upstream in https://github.com/eclipse/tinydtls/pull/103 and5c6fd178e8
to avoid the following build failure since bump of automake to version 1.16.4 in commitfe90272b51
: configure.ac: error: required file 'ar-lib' not found Fixes: - http://autobuild.buildroot.org/results/fa23cdf0d454c2ad11af3cdcc2810cd442918667 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
800 B
Makefile
26 lines
800 B
Makefile
################################################################################
|
|
#
|
|
# tinydtls
|
|
#
|
|
################################################################################
|
|
|
|
TINYDTLS_VERSION = 0.9-rc1
|
|
TINYDTLS_SITE = $(call github,eclipse,tinydtls,v$(TINYDTLS_VERSION))
|
|
TINYDTLS_LICENSE = EPL-1.0 or EDL-1.0
|
|
TINYDTLS_LICENSE_FILES = LICENSE
|
|
TINYDTLS_CPE_ID_VENDOR = eclipse
|
|
TINYDTLS_INSTALL_STAGING = YES
|
|
TINYDTLS_DEPENDENCIES = host-pkgconf
|
|
# From git
|
|
TINYDTLS_AUTORECONF = YES
|
|
# use inttypes.h data types instead of u_intXX_t for musl compatibility
|
|
TINYDTLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DSHA2_USE_INTTYPES_H"
|
|
|
|
# Fix build with automake >= 1.16.4
|
|
define TINYDTLS_TOUCH_AR_LIB
|
|
touch $(@D)/ar-lib
|
|
endef
|
|
TINYDTLS_PRE_CONFIGURE_HOOKS += TINYDTLS_TOUCH_AR_LIB
|
|
|
|
$(eval $(autotools-package))
|