From 5705a69c16ed15d7906e920cead7e078401847ef Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 23 Feb 2022 10:40:54 +0100 Subject: [PATCH] make: add support for "virtphy" from osmocom-bb Change-Id: Id4e7a9d948332c03d56e2637badeef78c78e5aa7 --- all.deps | 1 + gen_makefile.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/all.deps b/all.deps index 85b8d34..75c2b96 100644 --- a/all.deps +++ b/all.deps @@ -34,3 +34,4 @@ osmocom-bb # configure.ac not in topdir of repository osmocom-bb_layer23 libosmocore +osmocom-bb_virtphy libosmocore diff --git a/gen_makefile.py b/gen_makefile.py index d574565..a87a289 100755 --- a/gen_makefile.py +++ b/gen_makefile.py @@ -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 #