initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LIBEVENT
|
||||
bool "libevent"
|
||||
help
|
||||
Userspace library for handling asynchronous notifications
|
||||
|
||||
http://libevent.org
|
||||
@@ -0,0 +1,4 @@
|
||||
# locally computed
|
||||
sha1 cd55656a9b5bed630b08f05495230affb7996b21 libevent-2.1.12-stable.tar.gz
|
||||
sha256 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb libevent-2.1.12-stable.tar.gz
|
||||
sha256 ff02effc9b331edcdac387d198691bfa3e575e7d244ad10cb826aa51ef085670 LICENSE
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# libevent
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEVENT_VERSION = 2.1.12
|
||||
LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)-stable
|
||||
LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
|
||||
LIBEVENT_INSTALL_STAGING = YES
|
||||
LIBEVENT_LICENSE = BSD-3-Clause, OpenBSD
|
||||
LIBEVENT_LICENSE_FILES = LICENSE
|
||||
LIBEVENT_CPE_ID_VENDOR = libevent_project
|
||||
LIBEVENT_CONF_OPTS = \
|
||||
--disable-libevent-regress \
|
||||
--disable-samples
|
||||
HOST_LIBEVENT_CONF_OPTS = \
|
||||
--disable-libevent-regress \
|
||||
--disable-samples \
|
||||
--disable-openssl
|
||||
|
||||
define LIBEVENT_REMOVE_PYSCRIPT
|
||||
rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
|
||||
endef
|
||||
|
||||
# libevent installs a python script to target - get rid of it if we
|
||||
# don't have python support enabled
|
||||
ifneq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBEVENT_DEPENDENCIES += host-pkgconf openssl
|
||||
LIBEVENT_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
LIBEVENT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user