Patchwork [2/2] Add bluez package.

login
register
mail settings
Submitter Marek Belisko
Date March 23, 2012, 12:51 a.m.
Message ID <1332463895-18574-2-git-send-email-marek.belisko@open-nandra.com>
Download mbox | patch
Permalink /patch/148370/
State Not Applicable
Headers show

Comments

Marek Belisko - March 23, 2012, 12:51 a.m.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in            |    1 +
 package/libbluez/Config.in   |    8 ++++++++
 package/libbluez/libbluez.mk |   14 ++++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/libbluez/Config.in
 create mode 100644 package/libbluez/libbluez.mk
Yegor Yefremov - March 23, 2012, 7:57 a.m.
On Fri, Mar 23, 2012 at 1:51 AM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  package/Config.in            |    1 +
>  package/libbluez/Config.in   |    8 ++++++++
>  package/libbluez/libbluez.mk |   14 ++++++++++++++
>  3 files changed, 23 insertions(+), 0 deletions(-)
>  create mode 100644 package/libbluez/Config.in
>  create mode 100644 package/libbluez/libbluez.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index ccc9b34..50ef982 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -326,6 +326,7 @@ endmenu
>
>  menu "Hardware handling"
>  source "package/libaio/Config.in"
> +source "package/libbluez/Config.in"
>  source "package/libraw1394/Config.in"
>  source "package/tslib/Config.in"
>  source "package/libftdi/Config.in"
> diff --git a/package/libbluez/Config.in b/package/libbluez/Config.in
> new file mode 100644
> index 0000000..ac2b4b7
> --- /dev/null
> +++ b/package/libbluez/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_LIBBLUEZ
> +       bool "libbluez"
> +       select BR2_PACKAGE_DBUS
> +       help
> +         BlueZ provides support for the core Bluetooth layers and protocols.
> +         It is flexible, efficient and uses a modular implementation.
> +
> +         http://www.bluez.org
> diff --git a/package/libbluez/libbluez.mk b/package/libbluez/libbluez.mk
> new file mode 100644
> index 0000000..34f22eb
> --- /dev/null
> +++ b/package/libbluez/libbluez.mk
> @@ -0,0 +1,14 @@
> +#############################################################
> +#
> +# libbluez
> +#
> +#############################################################
> +
> +LIBBLUEZ_VERSION = 4.99
> +LIBBLUEZ_SITE = http://www.kernel.org/pub/linux/bluetooth/
> +LIBBLUEZ_SOURCE = bluez-$(LIBBLUEZ_VERSION).tar.gz
> +LIBBLUEZ_INSTALL_STAGING = YES
> +
> +LIBBLUEZ_DEPENDENCIES = dbus
> +
> +$(eval $(call AUTOTARGETS))
> --
> 1.7.5.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

We already have bluez package. package/bluez_utils/bluez_utils.mk and
libbluetooth will be installed in staging. Am I missing something?

Yegor
Belisko Marek - March 23, 2012, 8:28 a.m.
On Fri, Mar 23, 2012 at 8:57 AM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> On Fri, Mar 23, 2012 at 1:51 AM, Marek Belisko
> <marek.belisko@open-nandra.com> wrote:
>> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>> ---
>>  package/Config.in            |    1 +
>>  package/libbluez/Config.in   |    8 ++++++++
>>  package/libbluez/libbluez.mk |   14 ++++++++++++++
>>  3 files changed, 23 insertions(+), 0 deletions(-)
>>  create mode 100644 package/libbluez/Config.in
>>  create mode 100644 package/libbluez/libbluez.mk
>>
>> diff --git a/package/Config.in b/package/Config.in
>> index ccc9b34..50ef982 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -326,6 +326,7 @@ endmenu
>>
>>  menu "Hardware handling"
>>  source "package/libaio/Config.in"
>> +source "package/libbluez/Config.in"
>>  source "package/libraw1394/Config.in"
>>  source "package/tslib/Config.in"
>>  source "package/libftdi/Config.in"
>> diff --git a/package/libbluez/Config.in b/package/libbluez/Config.in
>> new file mode 100644
>> index 0000000..ac2b4b7
>> --- /dev/null
>> +++ b/package/libbluez/Config.in
>> @@ -0,0 +1,8 @@
>> +config BR2_PACKAGE_LIBBLUEZ
>> +       bool "libbluez"
>> +       select BR2_PACKAGE_DBUS
>> +       help
>> +         BlueZ provides support for the core Bluetooth layers and protocols.
>> +         It is flexible, efficient and uses a modular implementation.
>> +
>> +         http://www.bluez.org
>> diff --git a/package/libbluez/libbluez.mk b/package/libbluez/libbluez.mk
>> new file mode 100644
>> index 0000000..34f22eb
>> --- /dev/null
>> +++ b/package/libbluez/libbluez.mk
>> @@ -0,0 +1,14 @@
>> +#############################################################
>> +#
>> +# libbluez
>> +#
>> +#############################################################
>> +
>> +LIBBLUEZ_VERSION = 4.99
>> +LIBBLUEZ_SITE = http://www.kernel.org/pub/linux/bluetooth/
>> +LIBBLUEZ_SOURCE = bluez-$(LIBBLUEZ_VERSION).tar.gz
>> +LIBBLUEZ_INSTALL_STAGING = YES
>> +
>> +LIBBLUEZ_DEPENDENCIES = dbus
>> +
>> +$(eval $(call AUTOTARGETS))
>> --
>> 1.7.5.4
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
> We already have bluez package. package/bluez_utils/bluez_utils.mk and
> libbluetooth will be installed in staging. Am I missing something?
If wanna use just library you can save some space to not compile whole utils.
But I'm not sure about that ;)
>
> Yegor

marek
Arnout Vandecappelle - March 25, 2012, 8:29 p.m.
On Friday 23 March 2012 09:28:37 Belisko Marek wrote:
> On Fri, Mar 23, 2012 at 8:57 AM, Yegor Yefremov
> <yegorslists@googlemail.com> wrote:
> > We already have bluez package. package/bluez_utils/bluez_utils.mk and
> > libbluetooth will be installed in staging. Am I missing something?
> If wanna use just library you can save some space to not compile whole utils.

 But your not doing that AFAICS.  You're using exactly the same source tar
as bluez_utils, and you don't have any config option to disable the utils.

 Regards,
 Arnout
Belisko Marek - March 26, 2012, 6:08 a.m.
On Sun, Mar 25, 2012 at 10:29 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> On Friday 23 March 2012 09:28:37 Belisko Marek wrote:
>> On Fri, Mar 23, 2012 at 8:57 AM, Yegor Yefremov
>> <yegorslists@googlemail.com> wrote:
>> > We already have bluez package. package/bluez_utils/bluez_utils.mk and
>> > libbluetooth will be installed in staging. Am I missing something?
>> If wanna use just library you can save some space to not compile whole utils.
>
>  But your not doing that AFAICS.  You're using exactly the same source tar
> as bluez_utils, and you don't have any config option to disable the utils.
Arnout you're completely right. I messed it around. Sorry. Will stick
to bluez_utils.
>
>  Regards,
>  Arnout
>
>
> --
> Arnout Vandecappelle                               arnout at mind be
> Senior Embedded Software Architect                 +32-16-286540
> Essensium/Mind                                     http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

regards,

marek

Patch

diff --git a/package/Config.in b/package/Config.in
index ccc9b34..50ef982 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -326,6 +326,7 @@  endmenu
 
 menu "Hardware handling"
 source "package/libaio/Config.in"
+source "package/libbluez/Config.in"
 source "package/libraw1394/Config.in"
 source "package/tslib/Config.in"
 source "package/libftdi/Config.in"
diff --git a/package/libbluez/Config.in b/package/libbluez/Config.in
new file mode 100644
index 0000000..ac2b4b7
--- /dev/null
+++ b/package/libbluez/Config.in
@@ -0,0 +1,8 @@ 
+config BR2_PACKAGE_LIBBLUEZ
+	bool "libbluez"
+	select BR2_PACKAGE_DBUS
+	help
+	  BlueZ provides support for the core Bluetooth layers and protocols.
+	  It is flexible, efficient and uses a modular implementation.
+		
+	  http://www.bluez.org
diff --git a/package/libbluez/libbluez.mk b/package/libbluez/libbluez.mk
new file mode 100644
index 0000000..34f22eb
--- /dev/null
+++ b/package/libbluez/libbluez.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# libbluez
+#
+#############################################################
+
+LIBBLUEZ_VERSION = 4.99
+LIBBLUEZ_SITE = http://www.kernel.org/pub/linux/bluetooth/
+LIBBLUEZ_SOURCE = bluez-$(LIBBLUEZ_VERSION).tar.gz
+LIBBLUEZ_INSTALL_STAGING = YES
+
+LIBBLUEZ_DEPENDENCIES = dbus
+
+$(eval $(call AUTOTARGETS))