blob: 696c8647d889ab1df6641fb18b4b5f2e8d5d7af5 [file] [log] [blame]
Pau Espin Pedrol5867b922022-01-07 13:20:54 +01001DESCRIPTION = "Osmocom HNB-GW implementation"
2HOMEPAGE = "https://osmocom.org/projects/osmohnbgw"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
5
Oliver Smith400e3582022-02-25 10:07:53 +01006DEPENDS = "libosmocore libosmo-netif libosmo-sccp osmo-iuh libasn1c lksctp-tools osmo-mgw"
Pau Espin Pedrol5867b922022-01-07 13:20:54 +01007
8INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
9
10# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing unavailability of netinet/sctp.h.
11# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
12CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=yes"
13
14inherit autotools pkgconfig systemd
15
16PACKAGECONFIG ??= "\
17 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
18 "
19PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"
20
21SYSTEMD_SERVICE_${PN} = "${PN}.service"
22
23CONFFILES_osmo-hnbgw = "${sysconfdir}/osmocom/osmo-hnbgw.cfg"