path: root/src/hnbgw_rua.c
diff options
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-26 23:56:44 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-09 06:43:31 +0000
commit83457922813ace30efa355ed00b8967e64218aee (patch)
tree89476f341fddbeb90e6a21593ea3380e63b0c5d9 /src/hnbgw_rua.c
parentc636cab20fe5a7a63cfca4a108640d42cd5c36de (diff)
build: fix ranap gen, use same for gen hnbap and rua gen
fix extraneous rebuild for each make invocation: touch the ranap.stamp file in src/ as the make target suggests. fix for 'make distcheck': ranap gen: move generated sources to builddir, not srcdir. Thus we also -I the builddir include to pick up those headers. hnbap and rua have the same situation as ranap (they generate numerous files from a single make rule). Use the same makefile semantics for those two (commit for ranap gen omitted the same changes for hnbap and rua). The generated headers are thus moved to include/osmocom/*/, so adjust #include statements accordingly (*_common.h, *_ies_defs.h). Also move hnbap_common.h to include/osmocom/hnbap and rua_common.h to include/osmocom/rua, since the *_ies_defs.h want to include them; and since *_ies_defs.h are now in include/osmocom/*, we want a '<foo>' include now. Also adjust gitignore. Change-Id: I32213666fcdfc144008fa7d46497c0938d093e86
Diffstat (limited to 'src/hnbgw_rua.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hnbgw_rua.c b/src/hnbgw_rua.c
index a6f0100..fc22bfc 100644
--- a/src/hnbgw_rua.c
+++ b/src/hnbgw_rua.c
@@ -34,8 +34,8 @@
#include "hnbgw.h"
#include "hnbgw_ranap.h"
-#include "rua_common.h"
-#include "rua_ies_defs.h"
+#include <osmocom/rua/rua_common.h>
+#include <osmocom/rua/rua_ies_defs.h>
#include "context_map.h"
static int hnbgw_rua_tx(struct hnb_context *ctx, struct msgb *msg)