aboutsummaryrefslogtreecommitdiffstats
path: root/coverage
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-19 09:13:26 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:21:54 +0100
commitba693048ce1a2b629bfed11fceacabe7edc18a78 (patch)
tree7cad463bf3186fbe7a70ebf1fcbb740681ff9011 /coverage
parent8538d642f01c8ee185cb356eba2c2f19cf4cea58 (diff)
Allow to remove systemd library
This change allows to compile a binder that doesn't use libsystemd. The restriction implied is that the neither the systemd event loop nor the systemd dbus facilities are availables. Consequently, the dbus transparancy of APIs isn't available. Also the work isn't fully complete because afb-ws-client doesn't handle the removal of libsystemd. A more general work still have to be made to allow the binder to run as library using an external event loop. Change-Id: I27a80862868b9c5a0453011a1d8aa3ce75cb5f6e Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'coverage')
-rw-r--r--coverage/bin/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/coverage/bin/Makefile b/coverage/bin/Makefile
index c0581693..222d265a 100644
--- a/coverage/bin/Makefile
+++ b/coverage/bin/Makefile
@@ -60,7 +60,7 @@ ldflags = -ldl -lrt -lpthread \
cflags = $(ccflags) $(ldflags)
-defs = -DAGL_DEVEL \
+defs = -DAGL_DEVE=1L \
-DWITH_MONITORING_OPTION \
-DAFB_VERSION=\"cov\" \
-DUSE_SIG_MONITOR_DUMPSTACK=1 \
@@ -69,9 +69,17 @@ defs = -DAGL_DEVEL \
-DUSE_SIG_MONITOR_TIMERS=1 \
-DWITH_AFB_HOOK=1 \
-DWITH_AFB_TRACE=1 \
+ -DWITH_LEGACY_BINDING_V1=0 \
+ -DWITH_LEGACY_BINDING_V2=1 \
+ -DWITH_LEGACY_BINDING_VDYN=0 \
+ -DWITH_DBUS_TRANSPARENCY=0 \
+ -DWITH_SUPERVISION=0 \
+ -DWITH_DYNAMIC_BINDING=1 \
+ -DWITH_SYSTEMD=0 \
+ -DWITH_FDEV_EPOLL=1 \
-DBINDING_INSTALL_DIR=\"$(shell pwd)/fake\"
-afb_lib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|/fdev-epoll.c|/afb-ws-client.c' )
+afb_lib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|/afb-ws-client.c' )
afb_lib_obj = $(patsubst $(srcdir)/%.c,%.o,$(afb_lib_src))
afb_lib = afb-lib.a
afb_lib_defs = $(defs)