From: Balaji Shankaran Date: Mon, 23 Mar 2020 04:14:29 +0000 (+0530) Subject: cu link failure fix X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F2910%2F1;p=o-du%2Fl2.git cu link failure fix Change-Id: I2faca22a066f26fb04146ae87a7e734e0955014d Signed-off-by: Balaji Shankaran --- 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 "******************************************************************"