From 17252ab636080ea6aa682b964387410eb42b20ad Mon Sep 17 00:00:00 2001 From: Balaji Shankaran Date: Mon, 23 Mar 2020 09:44:29 +0530 Subject: [PATCH] cu link failure fix Change-Id: I2faca22a066f26fb04146ae87a7e734e0955014d Signed-off-by: Balaji Shankaran --- Dockerfile-cu-stub | 2 +- Dockerfile-ric-stub | 9 +++++++++ build/odu/makefile | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Dockerfile-ric-stub diff --git a/Dockerfile-cu-stub b/Dockerfile-cu-stub index 7e91785c4..8fb9f9737 100644 --- a/Dockerfile-cu-stub +++ b/Dockerfile-cu-stub @@ -5,6 +5,6 @@ WORKDIR /opt/o-du-l2 RUN apt-get update && apt-get install -y libpcap-dev -RUN cd build/odu && make clean_cu cu_stub NODE=CU_STUB MACHINE=BIT64 MODE=FDD +RUN cd build/odu && make clean_cu cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD #CMD /opt/o-du-l2/bin/cu_stub/cu_stub -f ../config/ssi_mem diff --git a/Dockerfile-ric-stub b/Dockerfile-ric-stub new file mode 100644 index 000000000..e9d3511d0 --- /dev/null +++ b/Dockerfile-ric-stub @@ -0,0 +1,9 @@ +FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu16-c-go:3-u16.04-nng as ubuntu + +ADD . /opt/o-du-l2 +WORKDIR /opt/o-du-l2 + +RUN apt-get update && apt-get install -y libpcap-dev + +RUN cd build/odu && make clean_ric ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD + diff --git a/build/odu/makefile b/build/odu/makefile index 801a4ee32..2588625d1 100644 --- a/build/odu/makefile +++ b/build/odu/makefile @@ -121,7 +121,7 @@ help: @echo -e "$(RULE)clean_all - cleanup everything$(NORM)" @echo -e "$(OPTS) options: $(NORM)" @echo -e "$(OPTS) MACHINE=BIT64/BIT32 - Default is BIT32$(NORM)" - @echo -e "$(OPTS) NODE=CU_STUB - Mandatory option for cu_stub$(NORM)" + @echo -e "$(OPTS) NODE=TEST_STUB - Mandatory option for cu_stub/ric_stub$(NORM)" @echo -e "$(OPTS) MODE=TDD - If not specified, MODE=FDD$(NORM)" @echo -e "******************************************************************" -- 2.16.6