summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-04-07 19:34:19 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-07 19:35:24 +0200
commit05d95a46fdcdaa53afe45f0afa704ed349a3ff57 (patch)
tree4c44e40eb9d69faa8ebf6e58621cb2aef8f40a78 /src/Makefile
parentf9ac7eb36ebc97c68a98c700f801015c0fc9c8ad (diff)
parent00bfb39d6c0f561a53aa7642e5f005c061c668ad (diff)
Merge 'fixeria/trx' into master
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index bb83d354..d92acbc1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,7 +13,7 @@ TOPDIR=$(shell pwd)
all: libosmocore-target nofirmware firmware mtk-firmware
-nofirmware: layer23 osmocon gsmmap gprsdecode virtphy
+nofirmware: layer23 osmocon trxcon gsmmap gprsdecode virtphy
libosmocore-target: shared/libosmocore/build-target/src/.libs/libosmocore.a
@@ -58,6 +58,19 @@ host/virt_phy/Makefile: host/virt_phy/configure
host/virt_phy/virtphy: host/virt_phy/Makefile
make -C host/virt_phy
+.PHONY: trxcon
+trxcon: host/trxcon/trxcon
+
+host/trxcon/configure: host/trxcon/configure.ac
+ cd host/trxcon && autoreconf -i
+
+host/trxcon/Makefile: host/trxcon/configure
+ cd host/trxcon && ./configure $(HOST_CONFARGS)
+
+host/trxcon/trxcon: host/trxcon/Makefile
+ make -C host/trxcon
+
+
.PHONY: gsmmap
gsmmap: host/gsmmap/gsmmap
@@ -111,6 +124,7 @@ clean:
make -C host/gsmmap $@
make -C host/gprsdecode $@
make -C host/virt_phy $@
+ make -C host/trxcon $@
make -C target/firmware $@
make -C target/firmware -f Makefile.mtk $@
@@ -121,5 +135,6 @@ distclean:
make -C host/gsmmap $@
make -C host/gprsdecode $@
make -C host/virt_phy $@
+ make -C host/trxcon $@
# 'firmware' also handles 'mtk-firmware'
make -C target/firmware $@