summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2016-06-30 00:41:58 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit8975b437ed476a1655e19b68d113bc93c468b087 (patch)
tree3df0b6bca3b8c5f0f482ca35d90b0289b071ec77 /src/Makefile
parent0fcd1c147b3f83efe5def03f954f85a685fafea5 (diff)
host/trxcon: introduce a new 'trxcon' application
This app is similar to the osmocon, but designed to connect L2 & L3 apps with SDR transceiver insted of obsolete Calypso based hardware. Change-Id: Ie3c17f19aad9c26f3c49966a7c96b65911f62369
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index f5e2128e..dedc40e8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -12,8 +12,7 @@ CROSS_TOOL_PREFIX=$(CROSS_HOST)-
TOPDIR=$(shell pwd)
all: libosmocore-target nofirmware firmware mtk-firmware
-
-nofirmware: layer23 osmocon gsmmap virtphy
+nofirmware: layer23 osmocon trxcon gsmmap virtphy
libosmocore-target: shared/libosmocore/build-target/src/.libs/libosmocore.a
@@ -58,6 +57,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
@@ -99,6 +111,7 @@ clean:
make -C host/osmocon $@
make -C host/gsmmap $@
make -C host/virt_phy $@
+ make -C host/trxcon $@
make -C target/firmware $@
make -C target/firmware -f Makefile.mtk $@
@@ -108,5 +121,6 @@ distclean:
make -C host/osmocon $@
make -C host/gsmmap $@
make -C host/virt_phy $@
+ make -C host/trxcon $@
# 'firmware' also handles 'mtk-firmware'
make -C target/firmware $@