mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 03:19:41 +01:00
Update libevent to version 2.1.8 and fix test directory creation License file has been changed due to new MIT license in source code. (From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
Fix missing test directory creation.
|
|
|
|
GCC used in OE-core has "dependency tracking" disabled and
|
|
libevent has problem with this.
|
|
Due to removed makefile.am/in files in test/sample/include
|
|
directories, output directories are not created in
|
|
configuration step. Compilation step will fails, when
|
|
trying to write to non-existing directory.
|
|
|
|
Upstream-Status: Inappropriate [Other]
|
|
Workaround specific to our build system.
|
|
|
|
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
|
|
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
|
|
|
|
diff --git a/libevent-2.1.8-stable/test/include.am b/libevent-2.1.8-stable/test/include.am
|
|
index eea249f..d323dff 100644
|
|
--- a/test/include.am
|
|
+++ b/test/include.am
|
|
@@ -161,6 +161,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
|
|
test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
|
|
|
|
test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
|
|
+ @$(MKDIR_P) test
|
|
$(AM_V_GEN)date -u > $@
|
|
$(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
|
|
true; \
|