* [ptxdist] [PATCH] libqmi: Add option to enable QMI firmware update tool
@ 2024-03-21 11:44 Lars Pedersen
2024-03-23 8:59 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Lars Pedersen @ 2024-03-21 11:44 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
rules/libqmi.in | 3 +++
rules/libqmi.make | 6 +++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/libqmi.in b/rules/libqmi.in
index 571bfa3a0..1b4c8c88c 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 03487369c..2cc6695cb 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)
--
2.44.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] libqmi: Add option to enable QMI firmware update tool
2024-03-21 11:44 [ptxdist] [PATCH] libqmi: Add option to enable QMI firmware update tool Lars Pedersen
@ 2024-03-23 8:59 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-03-23 8:59 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
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)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-23 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 11:44 [ptxdist] [PATCH] libqmi: Add option to enable QMI firmware update tool Lars Pedersen
2024-03-23 8:59 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox