diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-09-08 22:18:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-09-08 22:18:43 +0200 |
commit | e3a10b66a4eaea7c7d06707be1ca18bb28dc2cbe (patch) | |
tree | bfdd32694887c1d84870b8298a5caa903249b2cc /src | |
parent | aef917593ac9cce155252f612299c1d626775c1c (diff) |
libosmogb: make build conditional, disable in embedded build
when we build for osmocom-bb cross-compilation, we don't have
sockets nor netinet/in.h and thus NS/BSSGP make no sense...
Diffstat (limited to 'src')
-rw-r--r-- | src/gb/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gb/Makefile.am b/src/gb/Makefile.am index 71d47364..c1377665 100644 --- a/src/gb/Makefile.am +++ b/src/gb/Makefile.am @@ -8,6 +8,7 @@ AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN} -fno-strict-aliasing # FIXME: this should eventually go into a milenage/Makefile.am noinst_HEADERS = common_vty.h +if ENABLE_GB lib_LTLIBRARIES = libosmogb.la libosmogb_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libosmogb.map -version-info $(LIBVERSION) @@ -19,6 +20,7 @@ libosmogb_la_LIBADD = \ libosmogb_la_SOURCES = gprs_ns.c gprs_ns_frgre.c gprs_ns_vty.c \ gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c \ gprs_bssgp_bss.c common_vty.c +endif EXTRA_DIST = libosmogb.map |