Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 4b5a135fa681e85eb6988a379f59f3c7a41cc48c Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Talis <gilles.talis@gmail.com>
|
||||
Date: Fri, 21 Jun 2013 15:25:11 -0700
|
||||
Subject: [PATCH 1/2] Disable building test programs
|
||||
|
||||
We are not really interested in building test programs.
|
||||
Moreover, these programs use fork() function that is
|
||||
not available on MMU-less architectures.
|
||||
|
||||
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 42879a3..dc90359 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -126,7 +126,7 @@ else
|
||||
noinst_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
|
||||
endif
|
||||
|
||||
-SUBDIRS = . include sample test
|
||||
+SUBDIRS = . include sample
|
||||
|
||||
if BUILD_WIN32
|
||||
|
||||
--
|
||||
2.1.1
|
||||
|
||||
6
deprecated/firmware/buildroot/package/libevent/Config.in
Normal file
6
deprecated/firmware/buildroot/package/libevent/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LIBEVENT
|
||||
bool "libevent"
|
||||
help
|
||||
Userspace library for handling asynchronous notifications
|
||||
|
||||
http://libevent.org
|
||||
@@ -0,0 +1,3 @@
|
||||
# From http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/
|
||||
md5 c4c56f986aa985677ca1db89630a2e11 libevent-2.0.22-stable.tar.gz
|
||||
sha1 a586882bc93a208318c70fc7077ed8fca9862864 libevent-2.0.22-stable.tar.gz
|
||||
38
deprecated/firmware/buildroot/package/libevent/libevent.mk
Normal file
38
deprecated/firmware/buildroot/package/libevent/libevent.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# libevent
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEVENT_VERSION = 2.0.22-stable
|
||||
LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)
|
||||
LIBEVENT_INSTALL_STAGING = YES
|
||||
LIBEVENT_LICENSE = BSD-3c, OpenBSD
|
||||
LIBEVENT_LICENSE_FILES = LICENSE
|
||||
# For 0001-Disable-building-test-programs.patch
|
||||
LIBEVENT_AUTORECONF = YES
|
||||
|
||||
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),y)
|
||||
LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBEVENT_DEPENDENCIES += openssl
|
||||
LIBEVENT_CONF_OPTS += --enable-openssl
|
||||
# openssl needs zlib but configure forgets to link against it causing
|
||||
# openssl detection to fail
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBEVENT_CONF_ENV += OPENSSL_LIBADD='-lz'
|
||||
endif
|
||||
else
|
||||
LIBEVENT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user