diff options
author | Anders Darander <anders@chargestorm.se> | 2011-08-17 08:41:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-17 15:18:01 +0100 |
commit | 4024bf2874e9da4fd0dd9a2b90a48e8a259781cc (patch) | |
tree | 162f2f4c2d6bfca5137c3a7334391963f1c96f48 /meta/recipes-connectivity/ofono/ofono_git.bb | |
parent | 3944f5e02d22b70b3bcd733a80f005dbd8e248a2 (diff) | |
download | openembedded-core-4024bf2874e9da4fd0dd9a2b90a48e8a259781cc.tar.gz openembedded-core-4024bf2874e9da4fd0dd9a2b90a48e8a259781cc.tar.bz2 openembedded-core-4024bf2874e9da4fd0dd9a2b90a48e8a259781cc.zip |
ofono: conditionally enable bluetooth
Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth.
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ofono/ofono_git.bb')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono_git.bb b/meta/recipes-connectivity/ofono/ofono_git.bb index dbad5a1b68..f1770c2d12 100644 --- a/meta/recipes-connectivity/ofono/ofono_git.bb +++ b/meta/recipes-connectivity/ofono/ofono_git.bb @@ -10,6 +10,10 @@ PR = "r1" SRC_URI = "git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \ file://ofono" +EXTRA_OECONF += "\ + ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \ +" + do_configure_prepend () { ${S}/bootstrap } |