@ -8,27 +8,29 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libmbim
PKG_VERSION := 1.26.2
PKG_SOURCE_ VERSION := 1.26.2
PKG_RELEASE := $( AUTORELEASE)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://www.freedesktop.org/software/libmbim
PKG_HASH := 10c77bf5b5eb8c92ba80e9b519923ad9b898362bc8e1928e2bc9a17eeba649af
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
PKG_MIRROR_HASH := 47eb6511818271be66336fb67ec97de7925119b09ddbd0ffd06b3f76893a461e
PKG_MAINTAINER := Nicholas Smith <nicholas@nbembedded.com>
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
i n c l u d e $( INCLUDE_DIR ) / m e s o n . m k
CONFIGURE_ARGS += \
--disable-static \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-silent-rules
TARGET_CFLAGS += -ffunction-sections -fdata-sections -fno-merge-all-constants -fmerge-constants
TARGET_LDFLAGS += -Wl,--gc-sections
MESON_ARGS += \
-Dintrospection= false \
-Dman= false \
-Dbash_completion= false \
-Db_lto= true
d e f i n e P a c k a g e / l i b m b i m
SECTION:= libs
@ -55,9 +57,6 @@ define Package/mbim-utils
LICENSE_FILES:= COPYING
e n d e f
CONFIGURE_ARGS += \
--without-udev-base-dir
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( CP) \
@ -76,11 +75,15 @@ define Build/InstallDev
e n d e f
d e f i n e P a c k a g e / l i b m b i m / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) \
$( 1) /usr/lib \
$( 1) /usr/libexec
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/libmbim*.so.* \
$( 1) /usr/lib/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/mbim-proxy $( 1) /usr/lib/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/libexec/mbim-proxy $( 1) /usr/libexec/
e n d e f
d e f i n e P a c k a g e / m b i m - u t i l s / i n s t a l l