fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/30817 )
Change subject: virt_phy: fix make distcheck: access l1ctl_proto.h via symlink
......................................................................
virt_phy: fix make distcheck: access l1ctl_proto.h via symlink
Change-Id: Id64ab161a17d53f5e93cdd100e81d4fb8acfb97a
---
M src/host/virt_phy/include/Makefile.am
A src/host/virt_phy/include/virtphy/l1ctl_proto.h
M src/host/virt_phy/include/virtphy/l1ctl_sap.h
M src/host/virt_phy/src/gsmtapl1_if.c
M src/host/virt_phy/src/l1ctl_sap.c
M src/host/virt_phy/src/virt_prim_data.c
M src/host/virt_phy/src/virt_prim_fbsb.c
M src/host/virt_phy/src/virt_prim_pm.c
M src/host/virt_phy/src/virt_prim_rach.c
M src/host/virt_phy/src/virt_prim_traffic.c
10 files changed, 10 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/17/30817/1
diff --git a/src/host/virt_phy/include/Makefile.am
b/src/host/virt_phy/include/Makefile.am
index 6048a4b..ff3e8cb 100644
--- a/src/host/virt_phy/include/Makefile.am
+++ b/src/host/virt_phy/include/Makefile.am
@@ -1,6 +1,7 @@
noinst_HEADERS = \
virtphy/logging.h \
virtphy/osmo_mcast_sock.h \
+ virtphy/l1ctl_proto.h \
virtphy/l1ctl_sock.h \
virtphy/virtual_um.h \
virtphy/gsmtapl1_if.h \
diff --git a/src/host/virt_phy/include/virtphy/l1ctl_proto.h
b/src/host/virt_phy/include/virtphy/l1ctl_proto.h
new file mode 120000
index 0000000..95d4161
--- /dev/null
+++ b/src/host/virt_phy/include/virtphy/l1ctl_proto.h
@@ -0,0 +1 @@
+../../../../../include/l1ctl_proto.h
\ No newline at end of file
diff --git a/src/host/virt_phy/include/virtphy/l1ctl_sap.h
b/src/host/virt_phy/include/virtphy/l1ctl_sap.h
index d3562a1..6306eeb 100644
--- a/src/host/virt_phy/include/virtphy/l1ctl_sap.h
+++ b/src/host/virt_phy/include/virtphy/l1ctl_sap.h
@@ -2,7 +2,7 @@
#include <stdint.h>
#include <osmocom/core/msgb.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
#include <virtphy/virtual_um.h>
#include <virtphy/l1ctl_sock.h>
#include <virtphy/virt_l1_model.h>
diff --git a/src/host/virt_phy/src/gsmtapl1_if.c b/src/host/virt_phy/src/gsmtapl1_if.c
index 83b01fe..1496ee9 100644
--- a/src/host/virt_phy/src/gsmtapl1_if.c
+++ b/src/host/virt_phy/src/gsmtapl1_if.c
@@ -32,7 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
#include <virtphy/virtual_um.h>
#include <virtphy/l1ctl_sock.h>
#include <virtphy/virt_l1_model.h>
diff --git a/src/host/virt_phy/src/l1ctl_sap.c b/src/host/virt_phy/src/l1ctl_sap.c
index 35370f0..ffe94ac 100644
--- a/src/host/virt_phy/src/l1ctl_sap.c
+++ b/src/host/virt_phy/src/l1ctl_sap.c
@@ -29,7 +29,7 @@
#include <osmocom/gsm/rsl.h>
#include <osmocom/gprs/gprs_rlc.h>
#include <stdio.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
#include <netinet/in.h>
#include <string.h>
#include <virtphy/virtual_um.h>
diff --git a/src/host/virt_phy/src/virt_prim_data.c
b/src/host/virt_phy/src/virt_prim_data.c
index f74a9fa..51f7585 100644
--- a/src/host/virt_phy/src/virt_prim_data.c
+++ b/src/host/virt_phy/src/virt_prim_data.c
@@ -32,7 +32,7 @@
#include <virtphy/logging.h>
#include <virtphy/gsmtapl1_if.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
/**
* @brief Handler callback function for DATA request.
diff --git a/src/host/virt_phy/src/virt_prim_fbsb.c
b/src/host/virt_phy/src/virt_prim_fbsb.c
index 9637ed9..7c634cb 100644
--- a/src/host/virt_phy/src/virt_prim_fbsb.c
+++ b/src/host/virt_phy/src/virt_prim_fbsb.c
@@ -29,7 +29,7 @@
#include <virtphy/virt_l1_sched.h>
#include <osmocom/core/gsmtap.h>
#include <virtphy/logging.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
static uint16_t sync_count = 0;
diff --git a/src/host/virt_phy/src/virt_prim_pm.c b/src/host/virt_phy/src/virt_prim_pm.c
index 5a9a664..bb7875d 100644
--- a/src/host/virt_phy/src/virt_prim_pm.c
+++ b/src/host/virt_phy/src/virt_prim_pm.c
@@ -29,7 +29,7 @@
#include <virtphy/virt_l1_sched.h>
#include <osmocom/core/gsmtap.h>
#include <virtphy/logging.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
/**
* @brief Change the signal strength for a given arfcn.
diff --git a/src/host/virt_phy/src/virt_prim_rach.c
b/src/host/virt_phy/src/virt_prim_rach.c
index 2813458..a8a8ffa 100644
--- a/src/host/virt_phy/src/virt_prim_rach.c
+++ b/src/host/virt_phy/src/virt_prim_rach.c
@@ -32,7 +32,7 @@
#include <virtphy/logging.h>
#include <virtphy/gsmtapl1_if.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
/* use if we have a combined uplink (RACH, SDCCH, ...) (see
*
http://www.rfwireless-world.com/Terminology/GSM-combined-channel-configurat…)
diff --git a/src/host/virt_phy/src/virt_prim_traffic.c
b/src/host/virt_phy/src/virt_prim_traffic.c
index 1686ce9..ae87ad6 100644
--- a/src/host/virt_phy/src/virt_prim_traffic.c
+++ b/src/host/virt_phy/src/virt_prim_traffic.c
@@ -32,7 +32,7 @@
#include <virtphy/logging.h>
#include <virtphy/gsmtapl1_if.h>
-#include <l1ctl_proto.h>
+#include <virtphy/l1ctl_proto.h>
/**
* @brief Handler callback function for TRAFFIC request.
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/30817
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Id64ab161a17d53f5e93cdd100e81d4fb8acfb97a
Gerrit-Change-Number: 30817
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange