From 43a0f68940f1a2709273fa630f12be5467c426c7 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 14 Dec 2021 08:55:26 +0100 Subject: [PATCH] libqmi: fix missing CONFIG_ prefix Signed-off-by: Florian Eckert --- libs/libqmi/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libs/libqmi/Makefile b/libs/libqmi/Makefile index a17181959e..ee5b697491 100644 --- a/libs/libqmi/Makefile +++ b/libs/libqmi/Makefile @@ -66,12 +66,22 @@ CONFIGURE_ARGS += \ --disable-gtk-doc-pdf \ --disable-silent-rules \ --enable-firmware-update \ - --$(if $(LIBQMI_WITH_MBIM_QMUX),en,dis)able-mbim-qmux \ - --$(if $(LIBQMI_WITH_QRTR_GLIB),en,dis)able-qrtr \ --enable-more-warnings=yes \ --without-udev \ --without-udev-base-dir +ifeq ($(CONFIG_LIBQMI_WITH_MBIM_QMUX),y) + CONFIGURE_ARGS += --enable-mbim-qmux +else + CONFIGURE_ARGS += --disable-mbim-qmux +endif + +ifeq ($(CONFIG_LIBQMI_WITH_QRTR_GLIB),y) + CONFIGURE_ARGS += --enable-qrtr +else + CONFIGURE_ARGS += --disable-qrtr +endif + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) \ -- 2.30.2