X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=build%2Fcommon%2Fcompile.mak;h=1e94aa04cc55ccef207b83ab92309b78875d2fc7;hb=3330932565e15a749fd5dd5039cdea2862ca51cc;hp=de03d83c8c99e675d225adceebd84e6063497a53;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/build/common/compile.mak b/build/common/compile.mak index de03d83c8..1e94aa04c 100644 --- a/build/common/compile.mak +++ b/build/common/compile.mak @@ -14,29 +14,6 @@ # limitations under the License. # ################################################################################ -#/********************************************************************16** -# -# Name: gNodeB Sample Application -# -# Type: make file -# -# Desc: Compile, assemble and link product software for -# various configurations. Further comments are -# embedded in the file. -# -# This file supports a variety of environments and -# build targets. The default build target will be the -# portable target for the Linu 2.4.x with GNU C(gcc) -# -# Env: Linux 2.4.x with GNU C (gcc) -# -# File: compile.mak -# -#********************************************************************21*/ -#======================================================================= - -STOPTS=-DENB - Q= S= # Check for verbose build @@ -64,9 +41,9 @@ endif TENB_FLAGS=-DLTERRC_REL9 -DEGTP_U_REL_9 -UMAC_SCH_STATS -USCH_STATS \ -DTENB_TTI_PERF -DAES -DLTE_RRC_DISSECTOR -DRSYS_WIRESHARK -ifneq ($(PLTFRM), PAL) -TENB_FLAGS += -DIPV6_SUPPORTED -endif +#ifneq ($(PLTFRM), PAL) +#TENB_FLAGS += -DIPV6_SUPPORTED +#endif ifeq ($(RADIO_CLUSTER), YES) TENB_FLAGS += -DRADIO_CLUSTER @@ -88,10 +65,7 @@ ALL_FLAGS=$(SS_FLAGS) $(CMN_FLAGS) $(ENV_FLAGS) $(RVW_FLAGS) $(TENB_FLAGS) $(LNX # compiler options: #C_OPTS+=-g -O3 -pipe -pedantic -Wall -Werror -Wno-comment -Wshadow -C_OPTS+=-g -O3 -pipe -Wall -Wno-comment -Wshadow \ - -Wcast-qual -fno-strict-aliasing -fsigned-char --std=c99 - -COPTS_WO_PEDANTIC=-g -O3 -pipe -Wall -Werror -Wno-comment -Wshadow \ +C_OPTS+=-g -pipe -Wall -Wno-comment -Wshadow \ -Wcast-qual -fno-strict-aliasing -fsigned-char --std=c99 COPTS_WO_WERROR=-g -O3 -pipe -pedantic -Wall -Wno-comment -Wshadow \ @@ -101,7 +75,7 @@ xCPP_OPTS+=-g -pipe -pedantic -Wall -Werror -Wno-comment -Wshadow \ -Wcast-qual -fno-strict-aliasing -fsigned-char -lstdc++ # Include path settings -I_OPTS+=-I$(SRC_DIR) -I$(ROOT_DIR)/src/cm -I$(ROOT_DIR)/src/mt -I$(ROOT_DIR)/src/rlog +I_OPTS+=-I$(SRC_DIR) -I$(ROOT_DIR)/src/cm -I$(ROOT_DIR)/src/mt -I$(ROOT_DIR)/src/wls_lib I_OPTS+=$(PLTFRM_INCLUDES) .SUFFIXES:.c .o @@ -115,11 +89,6 @@ $(C_WO_WERR_OBJS):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(HDR_FILES) $(Q)$(CC) -c -o $@ $(COPTS_WO_WERROR) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ $(PLTFRM_FLAGS) $< -$(C_WO_PED_OBJS):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(HDR_FILES) - @echo -e "Compiling $(COLOR_RED) $< $(REVERT_COLOR)" - $(Q)$(CC) -c -o $@ $(COPTS_WO_PEDANTIC) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ - $(PLTFRM_FLAGS) $< - $(CPP_OBJS):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(HDR_FILES) @echo -e "Compiling $(COLOR_RED) $< $(REVERT_COLOR)" $(Q)$(CC) -c -o $@ $(CPP_OPTS) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ @@ -130,13 +99,11 @@ $(C_OBJS_WO_LOG):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(HDR_FILES) $(Q)$(CC) -c -o $@ $(C_OPTS) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ $(PLTFRM_FLAGS) $< -$(C_WO_PED_OBJS_WO_LOG):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(HDR_FILES) - @echo -e "Compiling $(COLOR_RED) $< $(REVERT_COLOR)" - $(Q)$(CC) -c -o $@ $(COPTS_WO_PEDANTIC) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ - $(PLTFRM_FLAGS) $< - $(CPP_OBJS_WO_LOG):$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(HDR_FILES) @echo -e "Compiling $(COLOR_RED) $< $(REVERT_COLOR)" $(Q)$(CC) -c -o $@ $(CPP_OPTS) $(I_OPTS) $(ALL_FLAGS) $(TEXT_LOGGING) $(MOD_FLAGS) \ $(PLTFRM_FLAGS) $< +#********************************************************************** +# End of file +#**********************************************************************