summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 00231a64..e83175c4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,8 @@ CROSS_TOOL_PREFIX=$(CROSS_HOST)-
TOPDIR=$(shell pwd)
all: libosmocore-target nofirmware firmware mtk-firmware
-nofirmware: layer23 osmocon gsmmap
+
+nofirmware: layer23 osmocon gsmmap virtphy
libosmocore-target: shared/libosmocore/build-target/src/.libs/libosmocore.a
@@ -45,6 +46,15 @@ host/osmocon/Makefile: host/osmocon/configure
host/osmocon/osmocon: host/osmocon/Makefile
make -C host/osmocon
+.PHONY: virtphy
+virtphy: host/virt_phy/Makefile
+ cd host/virt_phy && make
+
+host/virt_phy/configure: host/virt_phy/configure.ac
+ cd host/virt_phy && autoreconf -i
+
+host/virt_phy/Makefile: host/virt_phy/configure
+ cd host/virt_phy && ./configure $(HOST_CONFARGS)
.PHONY: gsmmap
gsmmap: host/gsmmap/gsmmap
@@ -86,6 +96,7 @@ clean:
make -C host/layer23 $@
make -C host/osmocon $@
make -C host/gsmmap $@
+ make -C host/virt_phy $@
make -C target/firmware $@
make -C target/firmware -f Makefile.mtk $@
@@ -94,5 +105,6 @@ distclean:
make -C host/layer23 $@
make -C host/osmocon $@
make -C host/gsmmap $@
+ make -C host/virt_phy $@
# 'firmware' also handles 'mtk-firmware'
make -C target/firmware $@