aboutsummaryrefslogtreecommitdiff
path: root/libs/libqmi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-12-14 08:55:26 +0100
committerFlorian Eckert <fe@dev.tdt.de>2021-12-15 11:56:08 +0100
commit43a0f68940f1a2709273fa630f12be5467c426c7 (patch)
tree98f503d3ff74a0de790f4ddb05ca9520b2ae1ed5 /libs/libqmi
parent8457944e61e147907eff26fd686c30a8c3b5dfa0 (diff)
libqmi: fix missing CONFIG_ prefix
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'libs/libqmi')
-rw-r--r--libs/libqmi/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/libs/libqmi/Makefile b/libs/libqmi/Makefile
index a17181959..ee5b69749 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) \