make: add support for "virtphy" from osmocom-bb

Change-Id: Id4e7a9d948332c03d56e2637badeef78c78e5aa7
This commit is contained in:
Oliver Smith 2022-02-23 10:40:54 +01:00
parent 93bd52300e
commit 5705a69c16
2 changed files with 12 additions and 0 deletions

View File

@ -34,3 +34,4 @@ osmocom-bb
# configure.ac not in topdir of repository
osmocom-bb_layer23 libosmocore
osmocom-bb_virtphy libosmocore

View File

@ -163,6 +163,14 @@ def gen_makefile_clone(proj, src, src_proj, url, push_url):
touch $@
'''
if proj == "osmocom-bb_virtphy":
return f'''
.make.{proj}.clone: .make.osmocom-bb.clone
@echo -e "\\n\\n\\n===== $@\\n"
test -L {src_proj} || ln -s osmocom-bb/src/host/virt_phy {src_proj}
touch $@
'''
return f'''
.make.{proj}.clone:
@echo -e "\\n\\n\\n===== $@\\n"
@ -354,6 +362,9 @@ usrp: \
.PHONY: mobile
mobile: osmocom-bb_layer23
.PHONY: virtphy
virtphy: osmocom-bb_virtphy
#
# Other convenience targets
#