diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-12-03 12:22:02 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-12-03 13:56:06 +0100 |
commit | 00b5111ad9026bd6ad1ea7cfce7a994f8e2b0168 (patch) | |
tree | dc06315cf4b07404efe7373a39fbdcc413e0bbb9 | |
parent | 99bc046cdc4906288aed6ba01595ddd2d07f6bb8 (diff) |
libosmo-abis.inc: Use PACKAGECONFIG to handle dahdi support, enable it by default
Building with DAHDI support can be controlled by bbappend or config file
on the BSP meta layer as described here:
https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PACKAGECONFIG
Change-Id: I0d875896bc97e973489672f004cb49fae02bdd46
-rw-r--r-- | recipes-osmocom/libosmo-abis/libosmo-abis.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-osmocom/libosmo-abis/libosmo-abis.inc b/recipes-osmocom/libosmo-abis/libosmo-abis.inc index dcfcbf7..955ebe3 100644 --- a/recipes-osmocom/libosmo-abis/libosmo-abis.inc +++ b/recipes-osmocom/libosmo-abis/libosmo-abis.inc @@ -2,13 +2,17 @@ DESCRIPTION = "An utility library for Open Source Mobile Communications" HOMEPAGE = "https://osmocom.org/projects/libosmo-abis" LICENSE = "AGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" -INC_PR="r0.${META_TELEPHONY_OSMO_INC}" +INC_PR="r1.${META_TELEPHONY_OSMO_INC}" DEPENDS = "libosmocore ortp libtalloc" -DEPENDS_append_geode = "dahdi-linux" inherit autotools pkgconfig +PACKAGECONFIG ??= "\ + dahdi \ + " +PACKAGECONFIG[dahdi] = "--enable-dahdi,--disable-dahdi,dahdi-linux," + PACKAGES =+ "libosmotrau libosmotrau-dev" FILES_libosmotrau = "${libdir}/libosmotrau${SOLIBS}" |