connman: fix build with automake 1.12
authorRoss Burton <ross.burton@intel.com>
Wed, 11 Jul 2012 15:39:43 +0000 (16:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 16:55:59 +0000 (17:55 +0100)
(From OE-Core rev: 292469a70282ed83a8c73b3a5c57d7327ebde793)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman.inc

index 12378e9..bb6f532 100644 (file)
@@ -20,7 +20,7 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
-INC_PR = "r11"
+INC_PR = "r12"
 
 TIST = "--enable-tist"
 TIST_powerpc = ""
@@ -72,6 +72,10 @@ do_install_append() {
 
        # We don't need to package an empty directory
        rmdir ${D}${libdir}/connman/scripts
+
+       # Automake 1.12 won't install empty directories, but we need the
+       # plugins directory to be present for ownership
+       mkdir -p ${D}${libdir}/connman/plugins
 }
 
 # These used to be plugins, but now they are core