aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-distro/recipes-connectivity/openobex/openobex_1.5.bbappend
blob: b4d7319809db743e0df8b5416a3c74acbad0cc36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PR_append = "-arago0"

# Add apps/obex_test for testing
do_configure_prepend() {
	sed -i -e 's:bin_PROGRAMS = irxfer obex_tcp irobex_palm3:bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test:g' ${S}/apps/Makefile.am
	aclocal
	automake --add-missing
	autoreconf
}

# tell the openobex configure script NOT to enable syslog and dump.
# enabling log and dump prints lots of debug messages and hex dump value during BT
# file transfer using openobex, due to which BT transfer get slow.

EXTRA_OECONF := "${@'${EXTRA_OECONF}'.replace('--enable-syslog', '')}"
EXTRA_OECONF := "${@'${EXTRA_OECONF}'.replace('--enable-dump', '')}"

# WiLink Bluetooth application build depends on libmisc.a.
do_install_append() {
	install -m 644 ${S}/apps/libmisc.a ${D}/${libdir}
}