2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-08 16:55:25 +02:00
|
|
|
#
|
|
|
|
# libev
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2022-01-23 22:29:16 +01:00
|
|
|
LIBEV_VERSION = 4.33
|
2017-05-28 22:40:57 +02:00
|
|
|
LIBEV_SITE = http://dist.schmorp.de/libev/Attic
|
2011-08-08 16:55:25 +02:00
|
|
|
LIBEV_INSTALL_STAGING = YES
|
2017-03-30 15:43:39 +02:00
|
|
|
LIBEV_LICENSE = BSD-2-Clause or GPL-2.0+
|
2014-06-26 21:20:57 +02:00
|
|
|
LIBEV_LICENSE_FILES = LICENSE
|
2011-08-08 16:55:25 +02:00
|
|
|
|
2023-02-22 15:37:53 +01:00
|
|
|
# libev has some assembly function that is not present in Thumb mode:
|
|
|
|
# Error: selected processor does not support `mcr p15,0,r3,c7,c10,5' in Thumb mode
|
|
|
|
# so, we desactivate Thumb mode
|
|
|
|
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
|
|
|
|
LIBEV_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
|
|
endif
|
|
|
|
|
2014-08-26 13:36:17 +02:00
|
|
|
# The 'compatibility' event.h header conflicts with libevent
|
|
|
|
# It's completely unnecessary for BR packages so remove it
|
|
|
|
define LIBEV_DISABLE_EVENT_H_INSTALL
|
|
|
|
$(SED) 's/ event.h//' $(@D)/Makefile.in
|
|
|
|
endef
|
|
|
|
LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2019-10-28 10:03:25 +01:00
|
|
|
$(eval $(host-autotools-package))
|