diff options
Diffstat (limited to 'meta/recipes-connectivity/connman/connman.inc')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index d695fee218..503bf1cffa 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -49,6 +49,14 @@ USERADD_PARAM_${PN} = "--system --no-create-home \ | |||
49 | 49 | ||
50 | inherit autotools pkgconfig update-rc.d useradd | 50 | inherit autotools pkgconfig update-rc.d useradd |
51 | 51 | ||
52 | # alg-test doesn't build, so disable that and test | ||
53 | # for if_alg.h as this header is only in 2.6.39 | ||
54 | do_configure_prepend() { | ||
55 | sed -i 's:tools/alg-test ::g' Makefile.am | ||
56 | sed -i 's:AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes,::g; | ||
57 | s:AC_MSG_ERROR(User-space algorithm header files are required))::g' configure.ac | ||
58 | } | ||
59 | |||
52 | do_compile_append() { | 60 | do_compile_append() { |
53 | sed -i -e s:deny:allow:g src/connman-dbus.conf | 61 | sed -i -e s:deny:allow:g src/connman-dbus.conf |
54 | } | 62 | } |