mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: Re: [ptxdist] [APPLIED] libqmi: Add option to enable QMI firmware update tool
Date: Sat, 23 Mar 2024 09:59:37 +0100	[thread overview]
Message-ID: <20240323085937.2493887-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240321114423.1503313-1-lapeddk@gmail.com>

Thanks, applied as 61143543fa1d18cfc6ec7340777bf64b5b54dc75.

Michael

[sent from post-receive hook]

On Sat, 23 Mar 2024 09:59:37 +0100, Lars Pedersen <lapeddk@gmail.com> wrote:
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> Message-Id: <20240321114423.1503313-1-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libqmi.in b/rules/libqmi.in
> index 571bfa3a0aa6..1b4c8c88c146 100644
> --- a/rules/libqmi.in
> +++ b/rules/libqmi.in
> @@ -15,4 +15,7 @@ config LIBQMI_MBIM_QMUX
>  	bool "enable mbim-qmux support"
>  	default y if MODEMMANAGER
>  
> +config LIBQMI_FIRMWARE_UPDATE
> +	bool "Add firmware update tool for QMI devices"
> +
>  endif
> diff --git a/rules/libqmi.make b/rules/libqmi.make
> index 03487369cbdf..2cc6695cb061 100644
> --- a/rules/libqmi.make
> +++ b/rules/libqmi.make
> @@ -36,7 +36,7 @@ LIBQMI_LICENSE_FILES := \
>  LIBQMI_CONF_TOOL	:= meson
>  LIBQMI_CONF_OPT		:= \
>  	$(CROSS_MESON_USR) \
> -	-Dfirmware_update=false \
> +	-Dfirmware_update=$(call ptx/truefalse, PTXCONF_LIBQMI_FIRMWARE_UPDATE) \
>  	-Dcollection=full \
>  	-Dmbim_qmux=$(call ptx/truefalse, PTXCONF_LIBQMI_MBIM_QMUX) \
>  	-Dmm_runtime_check=false \
> @@ -65,6 +65,10 @@ $(STATEDIR)/libqmi.targetinstall:
>  	@$(call install_copy, libqmi, 0, 0, 0755, -, /usr/bin/qmicli)
>  	@$(call install_copy, libqmi, 0, 0, 0755, -, /usr/bin/qmi-network)
>  
> +ifdef PTXCONF_LIBQMI_FIRMWARE_UPDATE
> +	@$(call install_copy, libqmi, 0, 0, 0755, -, /usr/bin/qmi-firmware-update)
> +endif
> +
>  	@$(call install_copy, libqmi, 0, 0, 0755, -, /usr/libexec/qmi-proxy)
>  	@$(call install_lib, libqmi, 0, 0, 0644, libqmi-glib)
>  



      reply	other threads:[~2024-03-23  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 11:44 [ptxdist] [PATCH] " Lars Pedersen
2024-03-23  8:59 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240323085937.2493887-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=lapeddk@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox