From 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:29:32 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- .../recipes-connectivity/connman/connman_git.bb | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 meta-eca/recipes-connectivity/connman/connman_git.bb (limited to 'meta-eca/recipes-connectivity/connman/connman_git.bb') diff --git a/meta-eca/recipes-connectivity/connman/connman_git.bb b/meta-eca/recipes-connectivity/connman/connman_git.bb new file mode 100644 index 0000000..0f4274c --- /dev/null +++ b/meta-eca/recipes-connectivity/connman/connman_git.bb @@ -0,0 +1,51 @@ +require recipes-connectivity/connman/connman.inc + +# We use a known good version instead of some buggy point version. +SRCREV = "f5a441e9d636eefd98335322e79e71ca7e4f55cc" +SRC_URI = "\ + git://git.kernel.org/pub/scm/network/connman/connman.git \ + file://add_xuser_dbus_permission.patch \ +" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ + file://src/main.c;beginline=1;endline=20;md5=486a279a6ab0c8d152bcda3a5b5edc36 \ +" + +# Enable debugging the easy way in systemd based distro. +# See 0001-doc-Debugging-in-host-that-uses-systemd.patch for usage. +SRC_URI += "\ + file://0002-systemd-Use-environment-file-for-connmand-debug-opti.patch \ + file://0003-systemd-Use-environment-file-for-connman-vpnd-debug-.patch \ +" + +S = "${WORKDIR}/git" +PR = "${INC_PR}.0" +PV = "1.23+git${SRCPV}" + + +# Override some options from poky connman recipe +EXTRA_OECONF += "\ + --enable-loopback=builtin \ + --enable-ethernet=builtin \ + --enable-test \ + --enable-client \ + --enable-tools \ + --disable-polkit \ + --enable-pacrunner \ + --enable-wispr \ +" + + +# Make sure we will use bluez5 instead of older bluez4 +PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez5" +RDEPENDS_${PN} = "\ + dbus \ + ${@base_contains('PACKAGECONFIG', 'bluetooth', 'bluez5', '', d)} \ + ${@base_contains('PACKAGECONFIG', 'wifi','wpa-supplicant', '', d)} \ + ${@base_contains('PACKAGECONFIG', '3g','ofono', '', d)} \ + " + + +do_install_append() { + install -d ${D}${sysconfdir}/connman + install -m 0644 ${S}/src/main.conf ${D}${sysconfdir}/connman/main.conf.example +} -- cgit v1.2.3-54-g00ecf