Re: [PATCH BlueZ] build: Fix not disabling obexd when given --disable-obex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Mar 21, 2018 at 6:54 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> --disable-obex shall disable building obexd daemon.
> ---
>  Makefile.am    | 4 ++++
>  Makefile.obexd | 3 ---
>  2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index daf34b6ca..5ac76d81c 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -223,7 +223,11 @@ test_scripts =
>  unit_tests =
>
>  include Makefile.tools
> +
> +if OBEX
>  include Makefile.obexd
> +endif
> +
>  include android/Makefile.am
>
>  if HID2HCI
> diff --git a/Makefile.obexd b/Makefile.obexd
> index 5959f2292..11d101158 100644
> --- a/Makefile.obexd
> +++ b/Makefile.obexd
> @@ -1,4 +1,3 @@
> -
>  if SYSTEMD
>  systemduserunitdir = @SYSTEMD_USERUNITDIR@
>  systemduserunit_DATA = obexd/src/obex.service
> @@ -32,7 +31,6 @@ obexd_builtin_sources += obexd/plugins/opp.c
>  obexd_builtin_modules += ftp
>  obexd_builtin_sources += obexd/plugins/ftp.c obexd/plugins/ftp.h
>
> -if OBEX
>  obexd_builtin_modules += irmc
>  obexd_builtin_sources += obexd/plugins/irmc.c
>
> @@ -41,7 +39,6 @@ obexd_builtin_sources += obexd/plugins/pbap.c \
>                                 obexd/plugins/vcard.h obexd/plugins/vcard.c \
>                                 obexd/plugins/phonebook.h \
>                                 obexd/plugins/phonebook-dummy.c
> -endif
>
>  obexd_builtin_modules += mas
>  obexd_builtin_sources += obexd/plugins/mas.c obexd/src/map_ap.h \
> --
> 2.14.3

Applied.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux